Package com.iizix
Class OutputReader
java.lang.Object
com.iizix.OutputReader
Output stream reader class.
- Author:
- Christopher Mindus
- Constructor SummaryConstructorsConstructorDescriptionConstructor used for stream reading in conjunction with processes.- OutputReader- (InputStream in, IPrintAdapter printer) Constructor used for stream reading in conjunction with processes.
- Method SummaryModifier and TypeMethodDescription- void- getOutput- (StringBuilder output) Waits for the stream to be closed and returns the output as a string.
- Constructor Details- OutputReaderConstructor used for stream reading in conjunction with processes.- Parameters:
- in- The input stream.
 
- OutputReaderConstructor used for stream reading in conjunction with processes.- Parameters:
- in- The input stream.
- printer- A printer interface for each line, null for none.
 
 
- Method Details- getOutputWaits for the stream to be closed and returns the output as a string.- Parameters:
- output- Buffer filled with the output without CR/LF but only LF's.