public class LineOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
LS_BINARY |
static byte[] |
LS_NATIVE |
static byte[] |
LS_UNIX |
static byte[] |
LS_WINDOWS |
| Constructor and Description |
|---|
LineOutputStream(OutputStream out,
byte[] ls) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
flush(boolean addLF) |
void |
write(int b) |
write, writepublic static final byte[] LS_BINARY
public static final byte[] LS_UNIX
public static final byte[] LS_WINDOWS
public static final byte[] LS_NATIVE
public LineOutputStream(OutputStream out, byte[] ls)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush(boolean addLF)
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved