imcode.util.io
Class InputStreamSourceWrapper

java.lang.Object
  extended by imcode.util.io.InputStreamSourceWrapper
All Implemented Interfaces:
InputStreamSource, java.io.Serializable
Direct Known Subclasses:
ExceptionFreeInputStreamSource

public class InputStreamSourceWrapper
extends java.lang.Object
implements InputStreamSource

See Also:
Serialized Form

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

Constructor Detail

InputStreamSourceWrapper

public InputStreamSourceWrapper(InputStreamSource inputStreamSource)
Method Detail

getSize

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

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream 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

getInputStreamSource

public InputStreamSource getInputStreamSource()