public class OutputStreamCLILogger extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
os |
| Constructor and Description |
|---|
OutputStreamCLILogger(CLIStreamLogger logger) |
OutputStreamCLILogger(CLIStreamLogger logger,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doFlush() |
protected void |
doWrite(int b) |
void |
flush() |
void |
write(byte[] bytes) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
protected ByteArrayOutputStream os
public OutputStreamCLILogger(CLIStreamLogger logger)
public OutputStreamCLILogger(CLIStreamLogger logger, int size)
public void write(byte[] bytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionprotected void doFlush()
protected void doWrite(int b)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionCopyright © 2016 iTransformers Labs. All rights reserved.