org.mockme.io
Class MockStreamConnection
java.lang.Object
org.mockme.io.MockStreamConnection
- All Implemented Interfaces:
- Connection, InputConnection, OutputConnection, StreamConnection
public class MockStreamConnection
- extends Object
- implements StreamConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockStreamConnection
public MockStreamConnection()
openDataInputStream
public DataInputStream openDataInputStream()
throws IOException
- Specified by:
openDataInputStream
in interface InputConnection
- Throws:
IOException
openInputStream
public InputStream openInputStream()
throws IOException
- Specified by:
openInputStream
in interface InputConnection
- Throws:
IOException
openDataOutputStream
public DataOutputStream openDataOutputStream()
throws IOException
- Specified by:
openDataOutputStream
in interface OutputConnection
- Throws:
IOException
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Specified by:
openOutputStream
in interface OutputConnection
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Connection
- Throws:
IOException
Copyright © 2006-2007 Jayway AB. All Rights Reserved.