com.Prominic.runtime
Class DefaultNRuntime

java.lang.Object
  extended by com.Prominic.runtime.NRuntime
      extended by com.Prominic.runtime.DefaultNRuntime

public class DefaultNRuntime
extends NRuntime

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

DefaultNRuntime

public DefaultNRuntime()
DefaultNRuntime constructor comment.

Method Detail

chgrp

public void chgrp(java.lang.String file,
                  int gid)
           throws java.io.IOException,
                  java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
chgrp in class NRuntime
Parameters:
file - java.lang.String
gid - int
Throws:
java.io.IOException - The exception description.
java.lang.SecurityException - The exception description.

chmod

public void chmod(java.lang.String file,
                  int mode)
           throws java.io.IOException,
                  java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
chmod in class NRuntime
Parameters:
file - java.lang.String
mode - int
Throws:
java.io.IOException - The exception description.
java.lang.SecurityException - The exception description.

chown

public void chown(java.lang.String file,
                  int uid)
           throws java.io.IOException,
                  java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
chown in class NRuntime
Parameters:
file - java.lang.String
uid - int
Throws:
java.io.IOException - The exception description.
java.lang.SecurityException - The exception description.

chown

public void chown(java.lang.String file,
                  int uid,
                  int gid)
           throws java.io.IOException,
                  java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
chown in class NRuntime
Parameters:
file - java.lang.String
uid - int
gid - int
Throws:
java.io.IOException - The exception description.
java.lang.SecurityException - The exception description.

exec

public NProcess exec(java.lang.String[] command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(java.lang.String[] command,
                     java.lang.String stdout,
                     java.lang.String stderr,
                     java.lang.String stdin)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(int uid,
                     java.lang.String[] command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

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
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(int uid,
                     int gid,
                     java.lang.String[] command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

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
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String[]
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(int uid,
                     int gid,
                     java.lang.String command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

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
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(int uid,
                     java.lang.String command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

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
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(java.lang.String command)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

exec

public NProcess exec(java.lang.String command,
                     java.lang.String stdout,
                     java.lang.String stdin,
                     java.lang.String stderr)
              throws java.io.IOException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
exec in class NRuntime
Parameters:
command - java.lang.String
Returns:
com.Prominic.runtime.NProcess
Throws:
java.io.IOException - The exception description.

killProcess

public void killProcess(int pid)
                 throws java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
killProcess in class NRuntime
Parameters:
pid - int
Throws:
java.lang.SecurityException - The exception description.

signalProcess

public void signalProcess(int pid,
                          int signal)
                   throws java.lang.SecurityException
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
signalProcess in class NRuntime
Parameters:
pid - int
signal - int
Throws:
java.lang.SecurityException - The exception description.

system

public int system(java.lang.String cmd)
Insert the method's description here. Creation date: (8/17/2001 4:44:08 PM)

Specified by:
system in class NRuntime
Parameters:
cmd - java.lang.String
Returns:
int