fi.iki.hsivonen.io
Class NcrEscapingWindows1252OutputStreamWriter
java.lang.Object
java.io.Writer
fi.iki.hsivonen.io.NcrEscapingWindows1252OutputStreamWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class NcrEscapingWindows1252OutputStreamWriter
- extends Writer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SURROGATE_OFFSET
private static final int SURROGATE_OFFSET
- See Also:
- Constant Field Values
CODE_POINTS
private static int[] CODE_POINTS
BYTES
private static int[] BYTES
out
private OutputStream out
prev
private int prev
NcrEscapingWindows1252OutputStreamWriter
public NcrEscapingWindows1252OutputStreamWriter(OutputStream out)
write
public void write(char[] buf,
int offset,
int count)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
- See Also:
Writer.write(int)
writeNcr
private void writeNcr(int c)
throws IOException
- Throws:
IOException