public class StreamSource
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
StreamSource()
Constructor for subclasses.
|
|
StreamSource(StreamSource indirectSource)
Constructor allowing for dynamic opening.
|
|
StreamSource(TempOutputStream os)
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
|
java.lang.String |
toString() |
protected StreamSource()
public StreamSource(TempOutputStream os)
public StreamSource(StreamSource indirectSource)
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.InputStream openInputStream() throws java.io.IOException
java.io.IOException
public void close()
public java.lang.String toString()
toString
in class java.lang.Object