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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidreadComplete(boolean success) Does nothingtoString()voidwriteComplete(boolean success) Closes the output stream
-
Constructor Details
-
OutputStreamBuffer
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceBuffer- Throws:
UnsupportedOperationException
-
getOutputStream
- Specified by:
getOutputStreamin interfaceBuffer- Returns:
- new OutputStreamOutputStream
-
readComplete
public void readComplete(boolean success) Does nothing- Specified by:
readCompletein interfaceBuffer
-
writeComplete
public void writeComplete(boolean success) Closes the output stream- Specified by:
writeCompletein interfaceBuffer- Parameters:
success- if false, deletes any resources
-
getLength
public int getLength() -
getOffset
public int getOffset() -
toString
-