public class InputStreamSource extends StreamSource
Modifier | Constructor and Description |
---|---|
protected |
InputStreamSource()
Constructor for subclasses.
|
|
InputStreamSource(java.io.InputStream is)
Constructor for Hessian deserialization.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the stream.
|
java.io.InputStream |
getInputStream()
Returns an input stream, freeing the results
|
java.io.InputStream |
openInputStream()
Returns an input stream, without freeing the results
|
toString
protected InputStreamSource()
public InputStreamSource(java.io.InputStream is)
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class StreamSource
java.io.IOException
public java.io.InputStream openInputStream() throws java.io.IOException
openInputStream
in class StreamSource
java.io.IOException
public void close()
close
in class StreamSource