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 Buffer
UnsupportedOperationException
public OutputStream getOutputStream()
getOutputStream
in interface Buffer
public void readComplete(boolean success)
readComplete
in interface Buffer
public void writeComplete(boolean success)
writeComplete
in interface Buffer
success
- if false, deletes any resources