java.lang
Class Runtime

java.lang.Object
  |
  +--java.lang.Runtime

public synchronized class Runtime
extends Object


Method Summary
 void addShutdownHook(Thread)
           
 int availableProcessors()
           
 Process exec(String)
           
 Process exec(String[])
           
 Process exec(String[], String[])
           
 Process exec(String[], String[], java.io.File)
           
 Process exec(String, String[])
           
 Process exec(String, String[], java.io.File)
           
 void exit(int)
           
 long freeMemory()
           
 void gc()
           
 java.io.InputStream getLocalizedInputStream(java.io.InputStream)
           
 java.io.OutputStream getLocalizedOutputStream(java.io.OutputStream)
           
static Runtime getRuntime()
           
 void halt(int)
           
 void load(String)
           
 void loadLibrary(String)
           
 long maxMemory()
           
 boolean removeShutdownHook(Thread)
           
 void runFinalization()
           
static void runFinalizersOnExit(boolean)
           
 long totalMemory()
           
 void traceInstructions(boolean)
           
 void traceMethodCalls(boolean)
           
 
Methods inherited from class java.lang.Object
equals, hashCode, toString
 

Method Detail

getRuntime

public static Runtime getRuntime()

exit

public void exit(int)

addShutdownHook

public void addShutdownHook(Thread)

removeShutdownHook

public boolean removeShutdownHook(Thread)

halt

public void halt(int)

runFinalizersOnExit

public static void runFinalizersOnExit(boolean)

exec

public Process exec(String)
             throws java.io.IOException

exec

public Process exec(String,
                    String[])
             throws java.io.IOException

exec

public Process exec(String,
                    String[],
                    java.io.File)
             throws java.io.IOException

exec

public Process exec(String[])
             throws java.io.IOException

exec

public Process exec(String[],
                    String[])
             throws java.io.IOException

exec

public Process exec(String[],
                    String[],
                    java.io.File)
             throws java.io.IOException

availableProcessors

public int availableProcessors()

freeMemory

public long freeMemory()

totalMemory

public long totalMemory()

maxMemory

public long maxMemory()

gc

public void gc()

runFinalization

public void runFinalization()

traceInstructions

public void traceInstructions(boolean)

traceMethodCalls

public void traceMethodCalls(boolean)

load

public void load(String)

loadLibrary

public void loadLibrary(String)

getLocalizedInputStream

public java.io.InputStream getLocalizedInputStream(java.io.InputStream)

getLocalizedOutputStream

public java.io.OutputStream getLocalizedOutputStream(java.io.OutputStream)