class AsciiOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
private int |
ascii |
private boolean |
badEOL |
private boolean |
breakOnNonAscii |
private boolean |
checkEOL |
private int |
lastb |
private int |
linelen |
private boolean |
longLine |
private int |
non_ascii |
private int |
ret |
| Constructor and Description |
|---|
AsciiOutputStream(boolean breakOnNonAscii,
boolean encodeEolStrict) |
| Modifier and Type | Method and Description |
|---|---|
private void |
check(int b) |
int |
getAscii()
Return ASCII-ness of data stream.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
private boolean breakOnNonAscii
private int ascii
private int non_ascii
private int linelen
private boolean longLine
private boolean badEOL
private boolean checkEOL
private int lastb
private int ret
public AsciiOutputStream(boolean breakOnNonAscii,
boolean encodeEolStrict)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionprivate final void check(int b)
throws java.io.IOException
java.io.IOExceptionpublic int getAscii()