org.mockme.io
Class MockInputStream
java.lang.Object
java.io.InputStream
org.mockme.io.MockInputStream
- All Implemented Interfaces:
- Closeable
public class MockInputStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockInputStream
public MockInputStream()
add
public void add(String str)
add
public void add(byte[] bytes)
add
public void add(int b)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
close
public void close()
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
Copyright © 2006-2007 Jayway AB. All Rights Reserved.