java.lang.System (JDK 1.0)
This class defines methods that provide a platform-independent interface to system functions. All of the methods and variables of this class are static. The class may not be instantiated.
getProperty() looks up a named property on the system properties list, returning the optionally specified default value if no property definition was found. getProperties() returns the entire properties list. setProperties() sets a Properties object on the properties list.
The in, out, and err variables are the system standard input, output, and error streams. arraycopy() copies an array or a portion of an array into a destination array. currentTimeMillis() returns the current time in milliseconds since midnight GMT on January 1.
exit(), gc(), load(), loadLibrary(), and runFinalization() invoke the methods of the same name in the Runtime object. See Runtime for details.
public final classSystemextends Object { //No Constructor//Constantspublic static final PrintStreamerr; public static final InputStreamin; public static final PrintStreamout; //Class Methodspublic static native voidarraycopy(Objectsrc, intsrc_position, Objectdst, intdst_position, intlength); public static native longcurrentTimeMillis(); public static voidexit(intstatus); public static voidgc(); public static PropertiesgetProperties(); public static StringgetProperty(Stringkey); public static StringgetProperty(Stringkey, Stringdef); public static SecurityManagergetSecurityManager(); # public static Stringgetenv(Stringname); 1.1public static native intidentityHashCode(Objectx); public static voidload(Stringfilename); public static voidloadLibrary(Stringlibname); public static voidrunFinalization(); 1.1public static voidrunFinalizersOnExit(booleanvalue); 1.1public static voidsetErr(PrintStreamerr); 1.1public static voidsetIn(InputStreamin); 1.1public static voidsetOut(PrintStreamout); public static voidsetProperties(Propertiesprops); public static voidsetSecurityManager(SecurityManagers); }