An extension of {@link Printer} that encodes the text with a provided encoder and sends the resultingbytes on an {@link java.io.OutputStream}. The instance can be configured to have different behavior on failure of the output stream.
The ignoreOnFailure property will stop to make further invocations to the output stream if an exception is thrown by the output stream except for the {@link #close()} method.
The failureFlow property modifies the control flow of the method invocation when the output stream throws an {@link java.io.IOException}.
The class provides direct write access to the underlying output stream when the client of the stream can provides bytes directly.
@author Julien Viet @version $Revision$
|
|