Package org.exoplatform.commons.utils
Class PortalPrinter
java.lang.Object
java.io.Writer
org.exoplatform.commons.utils.Printer
org.exoplatform.commons.utils.OutputStreamPrinter
org.exoplatform.commons.utils.PortalPrinter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable,org.exoplatform.commons.utils.BinaryOutput
public class PortalPrinter
extends org.exoplatform.commons.utils.OutputStreamPrinter
The portal printer convert char to bytes based on a charset encoder.
- Version:
- $Revision$
- Author:
- Julien Viet
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPortalPrinter(OutputStream out, boolean flushOnClose, int bufferSize) PortalPrinter(OutputStream out, boolean flushOnClose, int bufferSize, boolean growing) -
Method Summary
Methods inherited from class org.exoplatform.commons.utils.OutputStreamPrinter
close, flush, flushOutputStream, getCharset, getFailureFlow, getIgnoreOnFailure, isFailed, write, write, write, write, write, write, write, writeMethods inherited from class java.io.Writer
append, append, append, nullWriter
-
Constructor Details
-
PortalPrinter
public PortalPrinter(OutputStream out, boolean flushOnClose, int bufferSize) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
PortalPrinter
public PortalPrinter(OutputStream out, boolean flushOnClose, int bufferSize, boolean growing) throws IllegalArgumentException - Throws:
IllegalArgumentException
-