org.littleshoot.util
Class NoOpInputStreamHandler
java.lang.Object
org.littleshoot.util.NoOpInputStreamHandler
- All Implemented Interfaces:
- InputStreamHandler
public class NoOpInputStreamHandler
- extends Object
- implements InputStreamHandler
Class that does nothing when passed an InputStream to process.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpInputStreamHandler
public NoOpInputStreamHandler()
handleInputStream
public void handleInputStream(InputStream is)
throws IOException
- Description copied from interface:
InputStreamHandler
- Handles the specified
InputStream. Implementors of this
method MUST call close on the InputStream when they are
done processing it.
- Specified by:
handleInputStream in interface InputStreamHandler
- Parameters:
is - The InputStream to handle.
- Throws:
IOException - If there's a read error reading from the stream or
an output error while handling it.
Copyright © 2011-2013 LittleShoot. All Rights Reserved.