quick sketch of java/io/*

This commit is contained in:
Joel Dice
2007-07-24 18:34:45 -06:00
parent f56fda9af6
commit 97aaa419b4
15 changed files with 327 additions and 26 deletions

View File

@ -0,0 +1,16 @@
package java.io;
public class FileOutputStream extends OutputStream {
private final FileDescriptor fd;
public FileOutputStream(FileDescriptor fd) {
this.fd = fd;
}
public native void write(int c) throws IOException;
public native void write(byte[] b, int offset, int length)
throws IOException;
public native void close() throws IOException;
}