Package i2p.susi.util
Class OutputStreamBuffer
java.lang.Object
i2p.susi.util.OutputStreamBuffer
- All Implemented Interfaces:
Buffer
Output only. Input unsupported.
- Since:
- 0.9.34
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
readComplete
(boolean success) Does nothingtoString()
void
writeComplete
(boolean success) Closes the output stream
-
Constructor Details
-
OutputStreamBuffer
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceBuffer
- Throws:
UnsupportedOperationException
-
getOutputStream
- Specified by:
getOutputStream
in interfaceBuffer
- Returns:
- new OutputStreamOutputStream
-
readComplete
public void readComplete(boolean success) Does nothing- Specified by:
readComplete
in interfaceBuffer
-
writeComplete
public void writeComplete(boolean success) Closes the output stream- Specified by:
writeComplete
in interfaceBuffer
- Parameters:
success
- if false, deletes any resources
-
getLength
public int getLength() -
getOffset
public int getOffset() -
toString
-