Community
Participate
Working Groups
*/
@Override
public synchronized void write(byte[] b, int off, int len) throws IOException {
if (closed) {
throw new IOException("Output Stream is closed"); //$NON-NLS-1$
}
StringBuilder builder = new StringBuilder();
this.decoder.decode(builder, b, off, len);
encodedWrite(builder.toString());
* @since 3.7
public synchronized void setCharset(Charset charset) throws IOException {
this.decoder.finish(builder);
if (builder.length() > 0) {