Package com.liferay.petra.process
Class LoggingOutputProcessor
java.lang.Object
com.liferay.petra.process.LoggingOutputProcessor
- All Implemented Interfaces:
OutputProcessor<Void,Void>
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingOutputProcessor(Charset charset, BiConsumer<Boolean, String> logLineConsumer) LoggingOutputProcessor(BiConsumer<Boolean, String> logLineConsumer) -
Method Summary
Modifier and TypeMethodDescriptionprocessStdErr(InputStream stdErrInputStream) processStdOut(InputStream stdOutInputStream)
-
Constructor Details
-
LoggingOutputProcessor
-
LoggingOutputProcessor
-
-
Method Details
-
processStdErr
- Specified by:
processStdErrin interfaceOutputProcessor<Void,Void> - Throws:
ProcessException
-
processStdOut
- Specified by:
processStdOutin interfaceOutputProcessor<Void,Void> - Throws:
ProcessException
-