Package org.im4java.process
Class ArrayListOutputConsumer
java.lang.Object
org.im4java.process.ArrayListOutputConsumer
- All Implemented Interfaces:
OutputConsumer
This class is an OutputConsumer which saves the output to an ArrayList.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the output.voidconsumeOutput(InputStream pInputStream) Read command output and save in an internal field.Return array with output-lines.
-
Constructor Details
-
ArrayListOutputConsumer
public ArrayListOutputConsumer()Default Constructor.
-
-
Method Details
-
getOutput
Return array with output-lines. -
clear
public void clear()Clear the output. -
consumeOutput
Read command output and save in an internal field.- Specified by:
consumeOutputin interfaceOutputConsumer- Throws:
IOException- See Also:
-