Package java.lang
Class Runtime
- java.lang.Object
-
- java.lang.Runtime
-
public class Runtime extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddShutdownHook(Thread var0)Processexec(String var0)Processexec(String[] var0)Processexec(String[] var0, String[] var1)Processexec(String[] var0, String[] var1, File var2)Processexec(String var0, String[] var1)Processexec(String var0, String[] var1, File var2)voidexit(int var0)longfreeMemory()voidgc()static RuntimegetRuntime()voidhalt(int var0)voidload(String var0)voidloadLibrary(String var0)booleanremoveShutdownHook(Thread var0)voidrunFinalization()longtotalMemory()voidtraceInstructions(boolean var0)voidtraceMethodCalls(boolean var0)
-
-
-
Method Detail
-
exec
public Process exec(String[] var0) throws IOException
- Throws:
IOException
-
exec
public Process exec(String[] var0, String[] var1) throws IOException
- Throws:
IOException
-
exec
public Process exec(String[] var0, String[] var1, File var2) throws IOException
- Throws:
IOException
-
exec
public Process exec(String var0) throws IOException
- Throws:
IOException
-
exec
public Process exec(String var0, String[] var1) throws IOException
- Throws:
IOException
-
exec
public Process exec(String var0, String[] var1, File var2) throws IOException
- Throws:
IOException
-
exit
public void exit(int var0)
-
freeMemory
public long freeMemory()
-
gc
public void gc()
-
getRuntime
public static Runtime getRuntime()
-
load
public void load(String var0)
-
loadLibrary
public void loadLibrary(String var0)
-
runFinalization
public void runFinalization()
-
totalMemory
public long totalMemory()
-
traceInstructions
public void traceInstructions(boolean var0)
-
traceMethodCalls
public void traceMethodCalls(boolean var0)
-
addShutdownHook
public void addShutdownHook(Thread var0)
-
removeShutdownHook
public boolean removeShutdownHook(Thread var0)
-
halt
public void halt(int var0)
-
-