edu.nmu.system
Class NewSystem

java.lang.Object
  |
  +--edu.nmu.system.OldSystem
        |
        +--edu.nmu.system.NewSystem

public abstract class NewSystem
extends OldSystem

Created by IntelliJ IDEA. User: entropy Date: Jan 15, 2003 Time: 7:02:56 PM To change this template use Options | File Templates. Untested and incomplete


Field Summary
static java.io.PrintStream err
           
static java.io.InputStream in
           
static java.io.PrintStream out
           
 
Constructor Summary
NewSystem()
           
 
Method Summary
static void exit(int status)
           
static java.io.PrintStream getErr()
           
static java.io.InputStream getIn()
           
static java.io.PrintStream getOut()
           
static java.util.Properties getProperties()
           
static java.lang.String getProperty(java.lang.String key)
           
static java.lang.String getProperty(java.lang.String key, java.lang.String def)
           
static java.lang.SecurityManager getSecurityManager()
           
static void initializeNewSystemClass()
           
static boolean isSystem()
           
protected static void registerSystemThreadGroup(SystemThreadGroup stg)
           
static void setErr(java.io.PrintStream err)
           
static void setIn(java.io.InputStream in)
           
static void setOut(java.io.PrintStream out)
           
static void setProperties(java.util.Properties props)
           
static java.lang.String setProperty(java.lang.String key, java.lang.String value)
           
static void setSecurityManager(java.lang.SecurityManager s)
           
 
Methods inherited from class edu.nmu.system.OldSystem
arraycopy, currentTimeMillis, gc, getenv, getNullInputStream, getNullOutputStream, identityHashCode, initializeOldSystemClass, initProperties, load, loadLibrary, mapLibraryName, runFinalization, runFinalizersOnExit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

public static final java.io.PrintStream out

err

public static final java.io.PrintStream err

in

public static final java.io.InputStream in
Constructor Detail

NewSystem

public NewSystem()
Method Detail

exit

public static void exit(int status)
                 throws java.lang.SecurityException
java.lang.SecurityException

getProperties

public static java.util.Properties getProperties()
                                          throws java.lang.SecurityException
java.lang.SecurityException

getProperty

public static java.lang.String getProperty(java.lang.String key)
                                    throws java.lang.SecurityException,
                                           java.lang.NullPointerException,
                                           java.lang.IllegalArgumentException
java.lang.SecurityException
java.lang.NullPointerException
java.lang.IllegalArgumentException

getProperty

public static java.lang.String getProperty(java.lang.String key,
                                           java.lang.String def)
                                    throws java.lang.SecurityException,
                                           java.lang.NullPointerException,
                                           java.lang.IllegalArgumentException
java.lang.SecurityException
java.lang.NullPointerException
java.lang.IllegalArgumentException

getSecurityManager

public static java.lang.SecurityManager getSecurityManager()

setErr

public static void setErr(java.io.PrintStream err)
                   throws java.lang.SecurityException
java.lang.SecurityException

setIn

public static void setIn(java.io.InputStream in)
                  throws java.lang.SecurityException
java.lang.SecurityException

setOut

public static void setOut(java.io.PrintStream out)
                   throws java.lang.SecurityException
java.lang.SecurityException

setProperties

public static void setProperties(java.util.Properties props)
                          throws java.lang.SecurityException
java.lang.SecurityException

setProperty

public static java.lang.String setProperty(java.lang.String key,
                                           java.lang.String value)
                                    throws java.lang.SecurityException,
                                           java.lang.NullPointerException,
                                           java.lang.IllegalArgumentException
java.lang.SecurityException
java.lang.NullPointerException
java.lang.IllegalArgumentException

setSecurityManager

public static void setSecurityManager(java.lang.SecurityManager s)
                               throws java.lang.SecurityException
java.lang.SecurityException

getOut

public static java.io.PrintStream getOut()

getErr

public static java.io.PrintStream getErr()

getIn

public static java.io.InputStream getIn()

isSystem

public static boolean isSystem()

initializeNewSystemClass

public static void initializeNewSystemClass()

registerSystemThreadGroup

protected static void registerSystemThreadGroup(SystemThreadGroup stg)