public abstract class ThresholdOutputStream.ThresholdInputStream extends InputStream
| Constructor and Description |
|---|
ThresholdOutputStream.ThresholdInputStream() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Gets the byte buffer.
|
File |
getTemporaryFile()
Gets the temporary file.
|
abstract boolean |
isInMemory()
Returns if the data is stored in memory.
|
long |
length()
Returns the length of the stream.
|
abstract void |
rewind()
Rewinds the stream so that it can be read from the beginning.
|
available, close, mark, markSupported, read, read, read, reset, skippublic ThresholdOutputStream.ThresholdInputStream()
public abstract boolean isInMemory()
true if the data is in memory and false if
the data resides in a temporary filepublic File getTemporaryFile()
null if the data is stored in
memorypublic byte[] getBytes()
null if the data is
stored in a filepublic long length()
public abstract void rewind()
throws IOException
IOExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.