public class SenderOutputStream extends OutputStream
| Constructor and Description |
|---|
SenderOutputStream(ICommandSender sender) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flushes the output stream.
|
void |
write(int i)
https://stackoverflow.com/questions/6995946/log4j-how-do-i-redirect-an-outputstream-or-writer-to-loggers-writers
|
close, write, writepublic SenderOutputStream(ICommandSender sender)
public void write(int i)
throws IOException
write in class OutputStreami - IOExceptionpublic void flush()
flush in interface Flushableflush in class OutputStream