mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
more classpath progress
This commit is contained in:
26
classpath/java/io/ObjectOutputStream.java
Normal file
26
classpath/java/io/ObjectOutputStream.java
Normal file
@ -0,0 +1,26 @@
|
||||
package java.io;
|
||||
|
||||
public class ObjectOutputStream extends OutputStream {
|
||||
private final OutputStream out;
|
||||
|
||||
public ObjectOutputStream(OutputStream out) {
|
||||
this.out = out;
|
||||
}
|
||||
|
||||
public void write(int c) throws IOException {
|
||||
out.write(c);
|
||||
}
|
||||
|
||||
public void write(byte[] b, int offset, int length) throws IOException {
|
||||
out.write(b, offset, length);
|
||||
}
|
||||
|
||||
public void flush() throws IOException {
|
||||
out.flush();
|
||||
}
|
||||
|
||||
public void close() throws IOException {
|
||||
out.close();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user