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 Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void write(char[] cbuf)
throws IOException
write in class WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic void write(int c)
throws IOException
write in class WriterIOExceptionpublic void write(String str) throws IOException
write in class WriterIOExceptionpublic void write(String str, int off, int len) throws IOException
write in class WriterIOExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.