|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.Prominic.runtime.NRuntime
com.Prominic.runtime.DefaultNRuntime
public class DefaultNRuntime
Wrapper of the NRuntime around the default Java Runtime. Creation date: (8/17/2001 4:44:08 PM)
Constructor Summary | |
---|---|
DefaultNRuntime()
DefaultNRuntime constructor comment. |
Method Summary | |
---|---|
void |
chgrp(java.lang.String file,
int gid)
Insert the method's description here. |
void |
chmod(java.lang.String file,
int mode)
Insert the method's description here. |
void |
chown(java.lang.String file,
int uid)
Insert the method's description here. |
void |
chown(java.lang.String file,
int uid,
int gid)
Insert the method's description here. |
NProcess |
exec(int uid,
int gid,
java.lang.String command)
Insert the method's description here. |
NProcess |
exec(int uid,
int gid,
java.lang.String[] command)
Insert the method's description here. |
NProcess |
exec(int uid,
int gid,
java.lang.String[] command,
java.lang.String stdout,
java.lang.String stderr,
java.lang.String stdin)
Insert the method's description here. |
NProcess |
exec(int uid,
int gid,
java.lang.String command,
java.lang.String stdout,
java.lang.String stdin,
java.lang.String stderr)
Insert the method's description here. |
NProcess |
exec(int uid,
java.lang.String command)
Insert the method's description here. |
NProcess |
exec(int uid,
java.lang.String[] command)
Insert the method's description here. |
NProcess |
exec(int uid,
java.lang.String[] command,
java.lang.String stdout,
java.lang.String stderr,
java.lang.String stdin)
Insert the method's description here. |
NProcess |
exec(int uid,
java.lang.String command,
java.lang.String stdout,
java.lang.String stdin,
java.lang.String stderr)
Insert the method's description here. |
NProcess |
exec(java.lang.String command)
Insert the method's description here. |
NProcess |
exec(java.lang.String[] command)
Insert the method's description here. |
NProcess |
exec(java.lang.String[] command,
java.lang.String stdout,
java.lang.String stderr,
java.lang.String stdin)
Insert the method's description here. |
NProcess |
exec(java.lang.String command,
java.lang.String stdout,
java.lang.String stdin,
java.lang.String stderr)
Insert the method's description here. |
void |
killProcess(int pid)
Insert the method's description here. |
void |
signalProcess(int pid,
int signal)
Insert the method's description here. |
int |
system(java.lang.String cmd)
Insert the method's description here. |
Methods inherited from class com.Prominic.runtime.NRuntime |
---|
getRuntime, setRuntime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultNRuntime()
Method Detail |
---|
public void chgrp(java.lang.String file, int gid) throws java.io.IOException, java.lang.SecurityException
chgrp
in class NRuntime
file
- java.lang.Stringgid
- int
java.io.IOException
- The exception description.
java.lang.SecurityException
- The exception description.public void chmod(java.lang.String file, int mode) throws java.io.IOException, java.lang.SecurityException
chmod
in class NRuntime
file
- java.lang.Stringmode
- int
java.io.IOException
- The exception description.
java.lang.SecurityException
- The exception description.public void chown(java.lang.String file, int uid) throws java.io.IOException, java.lang.SecurityException
chown
in class NRuntime
file
- java.lang.Stringuid
- int
java.io.IOException
- The exception description.
java.lang.SecurityException
- The exception description.public void chown(java.lang.String file, int uid, int gid) throws java.io.IOException, java.lang.SecurityException
chown
in class NRuntime
file
- java.lang.Stringuid
- intgid
- int
java.io.IOException
- The exception description.
java.lang.SecurityException
- The exception description.public NProcess exec(java.lang.String[] command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(java.lang.String[] command, java.lang.String stdout, java.lang.String stderr, java.lang.String stdin) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(int uid, java.lang.String[] command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(int uid, java.lang.String[] command, java.lang.String stdout, java.lang.String stderr, java.lang.String stdin) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(int uid, int gid, java.lang.String[] command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(int uid, int gid, java.lang.String[] command, java.lang.String stdout, java.lang.String stderr, java.lang.String stdin) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String[]
java.io.IOException
- The exception description.public NProcess exec(int uid, int gid, java.lang.String command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public NProcess exec(int uid, int gid, java.lang.String command, java.lang.String stdout, java.lang.String stdin, java.lang.String stderr) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public NProcess exec(int uid, java.lang.String command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public NProcess exec(int uid, java.lang.String command, java.lang.String stdout, java.lang.String stdin, java.lang.String stderr) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public NProcess exec(java.lang.String command) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public NProcess exec(java.lang.String command, java.lang.String stdout, java.lang.String stdin, java.lang.String stderr) throws java.io.IOException
exec
in class NRuntime
command
- java.lang.String
java.io.IOException
- The exception description.public void killProcess(int pid) throws java.lang.SecurityException
killProcess
in class NRuntime
pid
- int
java.lang.SecurityException
- The exception description.public void signalProcess(int pid, int signal) throws java.lang.SecurityException
signalProcess
in class NRuntime
pid
- intsignal
- int
java.lang.SecurityException
- The exception description.public int system(java.lang.String cmd)
system
in class NRuntime
cmd
- java.lang.String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |