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 stram that writes into a string
- Since:
- 8.6.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
StringOutputStream
public StringOutputStream() -
StringOutputStream
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
getData
-