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 TypeMethodDescriptionvoid
clear()
Clear the output.void
consumeOutput
(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:
consumeOutput
in interfaceOutputConsumer
- Throws:
IOException
- See Also:
-