Package com.liferay.petra.io
Class OutputStreamWriter
java.lang.Object
java.io.Writer
com.liferay.petra.io.OutputStreamWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionOutputStreamWriter
(OutputStream outputStream) OutputStreamWriter
(OutputStream outputStream, String charsetName) OutputStreamWriter
(OutputStream outputStream, String charsetName, boolean autoFlush) OutputStreamWriter
(OutputStream outputStream, String charsetName, int outputBufferSize) OutputStreamWriter
(OutputStream outputStream, String charsetName, int outputBufferSize, boolean autoFlush) -
Method Summary
Methods inherited from class java.io.Writer
append, append, append, nullWriter
-
Constructor Details
-
OutputStreamWriter
-
OutputStreamWriter
-
OutputStreamWriter
-
OutputStreamWriter
-
OutputStreamWriter
public OutputStreamWriter(OutputStream outputStream, String charsetName, int outputBufferSize, boolean autoFlush)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
getEncoding
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-