All Packages Class Hierarchy This Package Previous Next Index
Class posix.ReadFile
java.lang.Object
|
+----posix.OpenFile
|
+----posix.ReadFile
- public class ReadFile
- extends OpenFile
-
ReadFile(String)
- Open a file for reading.
-
read(byte[])
-
-
read(byte[], int)
-
ReadFile
public ReadFile(String path) throws PosixException
- Open a file for reading.
- Throws: PosixException
- EACCESS, EEXIST, EINTR,
EISDIR, EMFILE, ENAMETOOLONG, ENFILE, ENOENT,
ENOSPEC, ENOTDIR, ENXIOM EROFS.
read
public native int read(byte buf[])
read
public native int read(byte buf[],
int nbyte)
All Packages Class Hierarchy This Package Previous Next Index