| Constructor and Description |
|---|
OutputStreamBuffer(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
int |
getLength() |
int |
getOffset() |
OutputStream |
getOutputStream() |
void |
readComplete(boolean success)
Does nothing
|
String |
toString() |
void |
writeComplete(boolean success)
Closes the output stream
|
public OutputStreamBuffer(OutputStream out)
public InputStream getInputStream()
getInputStream in interface BufferUnsupportedOperationExceptionpublic OutputStream getOutputStream()
getOutputStream in interface Bufferpublic void readComplete(boolean success)
readComplete in interface Bufferpublic void writeComplete(boolean success)
writeComplete in interface Buffersuccess - if false, deletes any resources