Class LoggingStdReader<T>
java.lang.Object
com.github.kokorin.jaffree.process.LoggingStdReader<T>
- Type Parameters:
T- type of parsed result
- All Implemented Interfaces:
StdReader<T>
StdReader implementation which reads and logs everything been read.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of error messages produced by the running process.read(InputStream stdOut) Reads program stdout or stderr and returns parsed result.
-
Constructor Details
-
LoggingStdReader
public LoggingStdReader()
-
-
Method Details
-
read
Description copied from interface:StdReaderReads program stdout or stderr and returns parsed result. -
getErrorLogMessages
Get the list of error messages produced by the running process.- Specified by:
getErrorLogMessagesin interfaceStdReader<T>- Returns:
- error messages
-