Package com.logicaldoc.util.io
Class StringOutputStream
java.lang.Object
java.io.OutputStream
com.logicaldoc.util.io.StringOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
An output stream that writes into a string
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.OutputStreamnullOutputStream
- 
Constructor Details- 
StringOutputStreampublic StringOutputStream()
- 
StringOutputStream
 
- 
- 
Method Details- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
writepublic void write(byte b) 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
getData
 
-