Class jls.lang.System

The System class provides access to data and operations of the underlying OS. Access to system properties, environnement variables and default standard IO streams. Operation such as the exit method, the garbage collection and the ability to load native library.
Defined in: System.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
jls.lang.System.err
The standard error stream.
<static>  
jls.lang.System.in
The standard input stream.
<static>  
jls.lang.System.out
The standard output stream.
Method Summary
Method Attributes Method Name and Description
<static>  
jls.lang.System.clearProperty(name)
Removes a specific system property.
<static>  
jls.lang.System.currentTimeMillis()
Returns the current time in milliseconds.
<static>  
jls.lang.System.exit(status)
Terminates the program and returns a value to the OS.
<static>  
jls.lang.System.gc()
Runs the garbage collector.
<static>  
jls.lang.System.getArguments()
Gets the system command-line arguments.
<static>  
jls.lang.System.getenv(name)
Gets a specific environnement property.
<static>  
jls.lang.System.getProperties()
Gets the system properties.
<static>  
jls.lang.System.getProperty(name, def)
Gets a specific system property.
<static>  
jls.lang.System.loadLibrary(name)
Loads a native library compliant with the JLS native engine.
<static>  
jls.lang.System.setProperty(name, value)
Sets a specific system property.
Class Detail
jls.lang.System()
Field Detail
<static> {jls.io.PrintStream} jls.lang.System.err
The standard error stream.

<static> {jls.io.FileInputStream} jls.lang.System.in
The standard input stream.

<static> {jls.io.PrintStream} jls.lang.System.out
The standard output stream.
Method Detail
<static> {String} jls.lang.System.clearProperty(name)
Removes a specific system property.
Parameters:
{String} name
The name of the property to remove.
Returns:
{String} The system property removed.

<static> {Number} jls.lang.System.currentTimeMillis()
Returns the current time in milliseconds.
Returns:
{Number} The current time in milliseconds.

<static> jls.lang.System.exit(status)
Terminates the program and returns a value to the OS.
Parameters:
{Number} status
The exit status to return to the OS.

<static> jls.lang.System.gc()
Runs the garbage collector.

<static> {Array} jls.lang.System.getArguments()
Gets the system command-line arguments.
Returns:
{Array} The system arguments.

<static> {String} jls.lang.System.getenv(name)
Gets a specific environnement property.
Parameters:
{String} name
The name of the property to get.
Returns:
{String} The environnement property.

<static> {Object} jls.lang.System.getProperties()
Gets the system properties.
Returns:
{Object} The system properties.

<static> {String} jls.lang.System.getProperty(name, def)
Gets a specific system property.
Parameters:
{String} name
The name of the property to get.
def
Returns:
{String} The system property.

<static> jls.lang.System.loadLibrary(name)
Loads a native library compliant with the JLS native engine.
Parameters:
{String} name
The name of the library to load.

<static> jls.lang.System.setProperty(name, value)
Sets a specific system property.
Parameters:
{String} name
The name of the property to set.
{String} value
The value of the property to set.

Documentation generated by JsDoc Toolkit 2.3.2 on Sat Jan 08 2011 02:00:14 GMT+0100 (CET)