Note
it strips CR if found before the LF
| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | |
| protected final byte[] | |
| protected int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with this stream. |
| protected abstract void | |
| public void | write(int
the b)byte.Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(byte[]
the data. b)Overrides java. Writes |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| lineBuf | back to summary |
|---|---|
| protected byte[] lineBuf | |
| oneByte | back to summary |
|---|---|
| protected final byte[] oneByte | |
| usedLen | back to summary |
|---|---|
| protected int usedLen | |
| LineOutputStream | back to summary |
|---|---|
| protected LineOutputStream() | |
| accumulateLineData | back to summary |
|---|---|
| protected void accumulateLineData(byte[] b, int off, int len) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| handleLine | back to summary |
|---|---|
| protected abstract void handleLine(byte[] buf, int offset, int len) throws IOException | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |