java.lang
Class System

java.lang.Object
  extended by java.lang.System

public class System
extends Object


Field Summary
static PrintStream err
           
static java.io.InputStream in
           
static PrintStream out
           
 
Constructor Summary
System()
           
 
Method Summary
static void arraycopy(Object src, int srcOffset, Object dst, int dstOffset, int count)
           
static long currentTimeMillis()
          Returns the current time in milliseconds.
static void exit(int status)
           
static void gc()
           
static String getProperty(String key)
           
static String getProperty(String key, String def)
           
static int identityHashCode(Object obj)
           
static void load(String filename)
           
static void loadLibrary(String libname)
           
static long nanoTime()
           
static void setIn(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Field Detail

in

public static java.io.InputStream in

out

public static PrintStream out

err

public static PrintStream err
Constructor Detail

System

public System()
Method Detail

arraycopy

public static void arraycopy(Object src,
                             int srcOffset,
                             Object dst,
                             int dstOffset,
                             int count)

exit

public static void exit(int status)

gc

public static void gc()

load

public static void load(String filename)

loadLibrary

public static void loadLibrary(String libname)

getProperty

public static String getProperty(String key,
                                 String def)

getProperty

public static String getProperty(String key)

currentTimeMillis

public static long currentTimeMillis()
Returns the current time in milliseconds. Note that while the unit of time of the return value is a millisecond, the granularity of the value depends on the underlying operating system and may be larger. For example, many operating systems measure time in units of tens of milliseconds. See the description of the class Date for a discussion of slight discrepancies that may arise between "computer time" and coordinated universal time (UTC). * Returns: the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC.


nanoTime

public static long nanoTime()

identityHashCode

public static int identityHashCode(Object obj)

setIn

public static void setIn(java.io.InputStream in)