All Packages Class Hierarchy This Package Previous Next Index
Class posix.OpenFile
java.lang.Object
|
+----posix.OpenFile
- public class OpenFile
- extends Object
-
APPEND
-
-
CREAT
-
-
EXCL
-
-
NOCTTY
-
-
NONBLOCK
-
-
path
-
-
RDONLY
-
-
RDWR
-
-
TRUNC
-
-
WRONLY
-
-
OpenFile(String)
-
-
close()
-
-
creat(String, int)
-
-
dup2(int)
-
-
dup2(OpenFile)
-
-
getFd()
-
-
getPath()
-
-
initializeConstants()
-
-
open(String, int, int)
-
path
protected String path
RDONLY
public static final int RDONLY
WRONLY
public static final int WRONLY
RDWR
public static final int RDWR
APPEND
public static final int APPEND
CREAT
public static final int CREAT
EXCL
public static final int EXCL
NOCTTY
public static final int NOCTTY
NONBLOCK
public static final int NONBLOCK
TRUNC
public static final int TRUNC
OpenFile
public OpenFile(String path)
initializeConstants
protected static native void initializeConstants()
getPath
public String getPath()
close
public native int close() throws PosixException
open
public native int open(String path,
int oflag,
int mode)
creat
public native int creat(String path,
int oflag)
dup2
protected native int dup2(int fd)
dup2
public int dup2(OpenFile f)
getFd
public int getFd()
All Packages Class Hierarchy This Package Previous Next Index