Runtime
that allows the application to interface with
the environment in which the application is running. The current
runtime can be obtained from the getRuntime
method.
Cette classe ne peut être instanciée.
package java.lang; import java.io.*; import java.util.StringTokenizer; public class Runtime { // (>JDK1.0) // Méthodes de classe public static Runtime getRuntime(); // (>JDK1.0) public static void runFinalizersOnExit(boolean value); // (>JDK1.1) public Process exec(String cmdarray[]) throws IOException; // (>JDK1.0) public Process exec(String cmdarray[], String envp[]) throws IOException; // (>JDK1.0) public Process exec(String command) throws IOException; // (>JDK1.0) public Process exec(String command, String envp[]) throws IOException; // (>JDK1.0) public void exit(int status); // (>JDK1.0) public native long freeMemory(); // (>JDK1.0) public native void gc(); // (>JDK1.0) // obsolète voir |
Christophe Merlet redfox@redfoxcenter.org | ©Tous droits réservés
3 janvier 1999 |