All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class posix.ReadFile

java.lang.Object
   |
   +----posix.OpenFile
           |
           +----posix.ReadFile

public class ReadFile
extends OpenFile

Constructor Index

 o ReadFile(String)
Open a file for reading.

Method Index

 o read(byte[])
 o read(byte[], int)

Constructors

 o 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.

Methods

 o read
 public native int read(byte buf[])
 o read
 public native int read(byte buf[],
                        int nbyte)

All Packages  Class Hierarchy  This Package  Previous  Next  Index