|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.im4java.process.ArrayListConsumer
public abstract class ArrayListConsumer
Base class for ArrayListOutputConsumer and ArrayListErrorConsumer with common methods.
ArrayListOutputConsumer
,
ArrayListErrorConsumer
Constructor Summary | |
---|---|
ArrayListConsumer()
Default Constructor. |
|
ArrayListConsumer(java.lang.String pCharset)
Constructor taking a charset-name as argument. |
Method Summary | |
---|---|
void |
clear()
Clear the output. |
protected void |
consume(java.io.InputStream pInputStream)
Read from InputStream and save in an internal field. |
java.util.ArrayList<java.lang.String> |
getOutput()
Return array with output-lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayListConsumer()
public ArrayListConsumer(java.lang.String pCharset)
pCharset
- charset-name for internal InputStreamReaderMethod Detail |
---|
public java.util.ArrayList<java.lang.String> getOutput()
public void clear()
protected void consume(java.io.InputStream pInputStream) throws java.io.IOException
pInputStream
- source InputStream
java.io.IOException
|
The im4java Library, Version 1.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |