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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
getEncoding
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-
write
- Overrides:
writein classWriter- Throws:
IOException
-