|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.w3c.util.Unix
Native methods to do some UNIX specific system calls. This class can be used on UNIX variants to access some specific system calls.
| Constructor Summary | |
Unix()
|
|
| Method Summary | |
void |
chroot(java.lang.String root)
Change the process root, using chroot system call. |
int |
getGID(java.lang.String gname)
Get the group identifier for that group. |
int |
getUID(java.lang.String uname)
Get the user identifier for that user. |
static Unix |
getUnix()
Get the UNIX system call manger. |
boolean |
isResolved()
Can I perform UNIX system calls through that instance ? |
void |
setGID(int gid)
Set the group id for the running process. |
void |
setUID(int uid)
Set the user id for the running process. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Unix()
| Method Detail |
public static Unix getUnix()
public boolean isResolved()
public int getUID(java.lang.String uname)
public int getGID(java.lang.String gname)
public void setUID(int uid)
throws UnixException
uid - The new user identifier for the process.
public void setGID(int gid)
throws UnixException
gid - The new user identifier for the process.
public void chroot(java.lang.String root)
throws UnixException
chroot system call.root - The new root for the process.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||