imcode.util.io
Class FileInputStreamSource

java.lang.Object
  extended by imcode.util.io.FileInputStreamSource
All Implemented Interfaces:
InputStreamSource, java.io.Serializable

public class FileInputStreamSource
extends java.lang.Object
implements InputStreamSource

See Also:
Serialized Form

Constructor Summary
FileInputStreamSource(java.io.File file)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.io.InputStream getInputStream()
           
 long getSize()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInputStreamSource

public FileInputStreamSource(java.io.File file)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface InputStreamSource
Throws:
java.io.IOException

getSize

public long getSize()
             throws java.io.IOException
Specified by:
getSize in interface InputStreamSource
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object