Contents
<a name="setSecurityManager"><b>setSecurityManager</b></a>
- <dd> Sets the System security. This value can only be set once.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> s - the security manager
- <dt> <b>Throws:</b> <a href="java.lang.SecurityException.html#_top_">SecurityException</a>
- <dd> If the SecurityManager has already been set.
- </dl>
</dl>
<a name="getSecurityManager"><b>getSecurityManager</b></a>
<pre>
- public static <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a> getSecurityManager()
</pre>
<dl>
- <dd> Gets the system security interface.
</dl>
<a name="currentTimeMillis"><b>currentTimeMillis</b></a>
<pre>
- public static long currentTimeMillis()
</pre>
<dl>
- <dd> Returns the current time in milliseconds GMT since the epoch (00:00:00
UTC, January 1, 1970). It is a signed 64 bit integer, and so it will
not overflow until the year 292280995.
- <dl>
- <dt> <b>See Also:</b>
- <dd> <a href="java.util.Date.html#_top_">Date</a>
- </dl>
</dl>
</pre>
<dl>
- <dd> Copies an array from the source array, beginning at the
specified position, to the specified position of the destination array.
This method does not allocate memory for the destination array. The
memory must already be allocated.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> src - the source data
- <dd> srcpos - start position in the source data
- <dd> dest - the destination
- <dd> destpos - start position in the destination data
- <dd> length - the number of array elements to be copied
- <dt> <b>Throws:</b> <a href="java.lang.ArrayIndexOutOfBoundsException.html#_top_">ArrayIndexOutOfBoundsException</a>
- <dd> If copy would cause
- access of data outside array bounds.
- <dt> <b>Throws:</b> <a href="java.lang.ArrayStoreException.html#_top_">ArrayStoreException</a>
- <dd> If an element in the src array could
- could not be stored into the destination array due
- to a type mismatch
- </dl>
</dl>
<a name="getProperties()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getProperties"><b>getProperties</b></a>
<pre>
- public static <a href="java.util.Properties.html#_top_">Properties</a> getProperties()
</pre>
<dl>
- <dd> Gets the System properties.
</dl>
<a name="setProperties(java.util.Properties)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setProperties"><b>setProperties</b></a>
<pre>
- public static void setProperties(<a href="java.util.Properties.html#_top_">Properties</a> props)
</pre>
<dl>
- <dd> Sets the System properties to the specified properties.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> props - the properties to be set
- </dl>
</dl>
<a name="getProperty(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getProperty"><b>getProperty</b></a>
<pre>
- public static <a href="java.lang.String.html#_top_">String</a> getProperty(<a href="java.lang.String.html#_top_">String</a> key)
</pre>
<dl>
- <dd> Gets the System property indicated by the specified key.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> key - the name of the system property
- </dl>
</dl>
<a name="getProperty(java.lang.String, java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getProperty"><b>getProperty</b></a>
<pre>
- public static <a href="java.lang.String.html#_top_">String</a> getProperty(<a href="java.lang.String.html#_top_">String</a> key,
- <a href="java.lang.String.html#_top_">String</a> def)
</pre>
<dl>
- <dd> Gets the System property indicated by the specified key and def.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> key - the name of the system property
- <dd> def - the default value to use if this property is not set
- </dl>
</dl>
<a name="getenv(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getenv"><b>getenv</b></a>
<pre>
- public static <a href="java.lang.String.html#_top_">String</a> getenv(<a href="java.lang.String.html#_top_">String</a> name)
</pre>
<dl>
- <dd> Obsolete.
Gets an environment variable. An environment variable is a
system dependent external variable that has a string value.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> name - the name of the environment variable
- <dt> <b>Returns:</b>
- <dd> the value of the variable, or null if the variable is
- not defined.
- </dl>
</dl>
<a name="exit(int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="exit"><b>exit</b></a>
<pre>
- public static void exit(int status)
</pre>
<dl>
- <dd> Exits the virtual machine with an exit code. This method does
not return, use with caution.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> status - exit status, 0 if successful, other values indicate
- various error types.
- <dt> <b>See Also:</b>
- <dd> <a href="java.lang.Runtime.html#exit">exit</a>
- </dl>
</dl>
<a name="gc()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="gc"><b>gc</b></a>
<pre>
- public static void gc()
</pre>
<dl>
- <dd> Runs the garbage collector.
- <dl>
- <dt> <b>See Also:</b>
- <dd> <a href="java.lang.Runtime.html#gc">gc</a>
- </dl>
</dl>
<a name="runFinalization()"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="runFinalization"><b>runFinalization</b></a>
<pre>
- public static void runFinalization()
</pre>
<dl>
- <dd> Runs the finalization methods of any objects pending finalization.
- <dl>
- <dt> <b>See Also:</b>
- <dd> <a href="java.lang.Runtime.html#gc">gc</a>
- </dl>
</dl>
<a name="load(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="load"><b>load</b></a>
<pre>
- public static void load(<a href="java.lang.String.html#_top_">String</a> filename)
</pre>
<dl>
- <dd> Loads a dynamic library, given a complete path name.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> filename - the file to load
- <dt> <b>Throws:</b> <a href="java.lang.UnsatisfiedLinkError.html#_top_">UnsatisfiedLinkError</a>
- <dd> If the file does not exist.
- <dt> <b>See Also:</b>
- <dd> <a href="java.lang.Runtime.html#load">load</a>
- </dl>
</dl>
<a name="loadLibrary(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="loadLibrary"><b>loadLibrary</b></a>
<pre>
- public static void loadLibrary(<a href="java.lang.String.html#_top_">String</a> libname)
</pre>
<dl>
- <dd> Loads a dynamic library with the specified library name.
- <dl>
- <dt> <b>Parameters:</b>
- <dd> libname - the name of the library
- <dt> <b>Throws:</b> <a href="java.lang.UnsatisfiedLinkError.html#_top_">UnsatisfiedLinkError</a>
- <dd> If the library does not exist.
- <dt> <b>See Also:</b>
- <dd> <a href="java.lang.Runtime.html#loadLibrary">loadLibrary</a>
- </dl>
</dl>
<hr>
<pre>
End