Interface StdReader<T>
- Type Parameters:
T- std read result
- All Known Implementing Classes:
BaseStdReader,FFmpegResultReader,FFprobeLogReader,FFprobeResultReader,GobblingStdReader,LoggingStdReader
public interface StdReader<T>
Implement
StdReader interface to parse program stdout or stderr streams.-
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.
-
Method Details
-
read
Reads program stdout or stderr and returns parsed result.- Parameters:
stdOut- input stream- Returns:
- parsed result
-
getErrorLogMessages
List<LogMessage> getErrorLogMessages()Get the list of error messages produced by the running process.- Returns:
- error messages
-