Package org.robovm.compiler.log
Class LoggerOutputStream
java.lang.Object
java.io.OutputStream
org.robovm.compiler.log.LoggerOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Direct Known Subclasses:
DebugOutputStream,ErrorOutputStream,InfoOutputStream
public abstract class LoggerOutputStream extends OutputStream
- Author:
- niklas
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LoggerOutputStream(Logger logger) -
Method Summary
Methods inherited from class java.io.OutputStream
flush, write, write
-
Field Details
-
logger
-
-
Constructor Details
-
LoggerOutputStream
-
-
Method Details
-
log
protected abstract void log(byte[] message, int off, int length) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-