corda/classpath/java/io/ObjectInputStream.java

22 lines
422 B
Java
Raw Normal View History

2007-07-29 01:29:01 +00:00
package java.io;
public class ObjectInputStream extends InputStream {
private final InputStream in;
public ObjectInputStream(InputStream in) {
this.in = in;
}
public int read() throws IOException {
return in.read();
}
public int read(byte[] b, int offset, int length) throws IOException {
return in.read(b, offset, length);
}
public void close() throws IOException {
in.close();
}
}