All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class posix.OpenFile

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

public class OpenFile
extends Object

Variable Index

 o APPEND
 o CREAT
 o EXCL
 o NOCTTY
 o NONBLOCK
 o path
 o RDONLY
 o RDWR
 o TRUNC
 o WRONLY

Constructor Index

 o OpenFile(String)

Method Index

 o close()
 o creat(String, int)
 o dup2(int)
 o dup2(OpenFile)
 o getFd()
 o getPath()
 o initializeConstants()
 o open(String, int, int)

Variables

 o path
 protected String path
 o RDONLY
 public static final int RDONLY
 o WRONLY
 public static final int WRONLY
 o RDWR
 public static final int RDWR
 o APPEND
 public static final int APPEND
 o CREAT
 public static final int CREAT
 o EXCL
 public static final int EXCL
 o NOCTTY
 public static final int NOCTTY
 o NONBLOCK
 public static final int NONBLOCK
 o TRUNC
 public static final int TRUNC

Constructors

 o OpenFile
 public OpenFile(String path)

Methods

 o initializeConstants
 protected static native void initializeConstants()
 o getPath
 public String getPath()
 o close
 public native int close() throws PosixException
 o open
 public native int open(String path,
                        int oflag,
                        int mode)
 o creat
 public native int creat(String path,
                         int oflag)
 o dup2
 protected native int dup2(int fd)
 o dup2
 public int dup2(OpenFile f)
 o getFd
 public int getFd()

All Packages  Class Hierarchy  This Package  Previous  Next  Index