corda/classpath/java/io/FileInputStream.java
2007-07-24 18:34:45 -06:00

16 lines
353 B
Java

package java.io;
public class FileInputStream extends InputStream {
private final FileDescriptor fd;
public FileInputStream(FileDescriptor fd) {
this.fd = fd;
}
public native int read() throws IOException;
public native int read(byte[] b, int offset, int length) throws IOException;
public native void close() throws IOException;
}