public final class UTF8Writer extends Writer
Modifier and Type | Field and Description |
---|---|
protected OutputStream |
_out |
protected byte[] |
_outBuffer |
protected int |
_outBufferLast |
protected int |
_outPtr |
Constructor and Description |
---|
UTF8Writer(OutputStream out) |
UTF8Writer(OutputStream out,
int bufferLength) |
protected OutputStream _out
protected byte[] _outBuffer
protected final int _outBufferLast
protected int _outPtr
public UTF8Writer(OutputStream out)
public UTF8Writer(OutputStream out, int bufferLength)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void write(int c) throws IOException
write
in class Writer
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(String str, int off, int len) throws IOException
write
in class Writer
IOException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.