Package i2p.susi.util
Class DecodingOutputStream
java.lang.Object
java.io.OutputStream
i2p.susi.util.DecodingOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Buffering decoder, with output to a Writer.
Adapted from SAM UTF8Reader.
- Since:
- 0.9.34
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
DecodingOutputStream
- Parameters:
out
- UTF-8- Throws:
UnsupportedEncodingException
- (an IOException) on unknown charset
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
Only flushes. Does NOT close the writer- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-