The im4java Library, Version 1.4.0

org.im4java.process
Class ArrayListErrorConsumer

java.lang.Object
  extended by org.im4java.process.ArrayListConsumer
      extended by org.im4java.process.ArrayListErrorConsumer
All Implemented Interfaces:
ErrorConsumer

public class ArrayListErrorConsumer
extends ArrayListConsumer
implements ErrorConsumer

This class is an ErrorConsumer which saves the output to an ArrayList.

Since:
1.4.0
Version:
$Revision: 1.1 $
Author:
$Author: bablokb $

Constructor Summary
ArrayListErrorConsumer()
          Default Constructor.
ArrayListErrorConsumer(java.lang.String pCharset)
          Constructor taking a charset-name as argument.
 
Method Summary
 void consumeError(java.io.InputStream pInputStream)
          Read command output and save in an internal field.
 
Methods inherited from class org.im4java.process.ArrayListConsumer
clear, consume, getOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayListErrorConsumer

public ArrayListErrorConsumer()
Default Constructor.

Since:
1.4.0

ArrayListErrorConsumer

public ArrayListErrorConsumer(java.lang.String pCharset)
Constructor taking a charset-name as argument.

Parameters:
pCharset - charset-name for internal InputStreamReader
Since:
1.4.0
Method Detail

consumeError

public void consumeError(java.io.InputStream pInputStream)
                  throws java.io.IOException
Read command output and save in an internal field.

Specified by:
consumeError in interface ErrorConsumer
Throws:
java.io.IOException
Since:
1.4.0
See Also:
ErrorConsumer.consumeError(java.io.InputStream)

The im4java Library, Version 1.4.0

Released under the LGPL, (c) Bernhard Bablok 2008-2010
Homepage: http://im4java.sourceforge.net/