FileBuffer, GzipFileBuffer, MemoryBuffer, OutputStreamBuffer, ReadBufferpublic interface Buffer
| Modifier and Type | Method | Description |
|---|---|---|
InputStream |
getInputStream() |
|
int |
getLength() |
|
int |
getOffset() |
|
OutputStream |
getOutputStream() |
|
void |
readComplete(boolean success) |
Top-level reader MUST call this to close the input stream.
|
void |
writeComplete(boolean success) |
Writer MUST call this when done.
|
InputStream getInputStream() throws IOException
IOExceptionOutputStream getOutputStream() throws IOException
IOExceptionvoid readComplete(boolean success)
void writeComplete(boolean success)
success - if false, deletes any resourcesint getLength()
int getOffset()