public abstract class LineOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
lineBuf |
protected byte[] |
oneByte |
protected int |
usedLen |
| Modifier | Constructor and Description |
|---|---|
protected |
LineOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accumulateLineData(byte[] b,
int off,
int len) |
void |
close() |
protected abstract void |
handleLine(byte[] buf,
int offset,
int len) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
protected final byte[] oneByte
protected byte[] lineBuf
protected int usedLen
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.IOExceptionprotected void accumulateLineData(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionprotected abstract void handleLine(byte[] buf,
int offset,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException