Package com.day.cq.dam.handler.ffmpeg
Class LoggerOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.commons.exec.LogOutputStream
-
- com.day.cq.dam.handler.ffmpeg.LoggerOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class LoggerOutputStream extends LogOutputStream
Provides an output stream injecting lines into the given logger. To be used in conjunction with Apache Common's exec library for logging the output of external commands.
-
-
Constructor Summary
Constructors Constructor Description LoggerOutputStream(Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setWrapper(FFMpegWrapper wrapper)
-
Methods inherited from class org.apache.commons.exec.LogOutputStream
close, flush, getMessageLevel, write, write
-
-
-
-
Constructor Detail
-
LoggerOutputStream
public LoggerOutputStream(Logger log)
-
-
Method Detail
-
setWrapper
public void setWrapper(FFMpegWrapper wrapper)
-
-