FileBuffer
, GzipFileBuffer
, MemoryBuffer
, OutputStreamBuffer
, ReadBuffer
public interface Buffer
修飾子とタイプ | メソッド | 説明 |
---|---|---|
java.io.InputStream |
getInputStream() |
|
int |
getLength() |
|
int |
getOffset() |
|
java.io.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.
|
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
void readComplete(boolean success)
void writeComplete(boolean success)
success
- if false, deletes any resourcesint getLength()
int getOffset()