java > java.lang > java.lang.runtime >

Class: java.lang.Runtime
    java.lang.Object
       java.lang.Runtime


public class Runtime extends Object


FIELDS:

CONSTRUCTORS:

METHODS:
public void addShutdownHook(Thread hook)
Throws: IllegalArgumentException
Throws: IllegalStateException
Throws: SecurityException

public int availableProcessors()

public Process exec(String command)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IllegalArgumentException

public Process exec(String command, String[] envp)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IllegalArgumentException

public Process exec(String command, String[] envp, File dir)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IllegalArgumentException

public Process exec(String[] cmdarray)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IndexOutOfBoundsException

public Process exec(String[] cmdarray, String[] envp)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IndexOutOfBoundsException

public Process exec(String[] cmdarray, String[] envp, File dir)
Throws: SecurityException
Throws: IOException
Throws: NullPointerException
Throws: IndexOutOfBoundsException

public void exit(int status)
Throws: SecurityException

public long freeMemory()

public void gc()

public InputStream getLocalizedInputStream(InputStream in)

public OutputStream getLocalizedOutputStream(OutputStream out)

public static Runtime getRuntime()

public void halt(int status)
Throws: SecurityException

public void load(String filename)
Throws: SecurityException
Throws: UnsatisfiedLinkError
Throws: NullPointerException

public void loadLibrary(String libname)
Throws: SecurityException
Throws: UnsatisfiedLinkError
Throws: NullPointerException

public long maxMemory()

public boolean removeShutdownHook(Thread hook)
Throws: IllegalStateException
Throws: SecurityException

public void runFinalization()

public static void runFinalizersOnExit(boolean value)
Throws: SecurityException

public long totalMemory()

public void traceInstructions(boolean on)

public void traceMethodCalls(boolean on)


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net