THE PACKAGE JAVA.LANG
java.lang.System
20.18
20.18.6
public static long currentTimeMillis()
Returns the difference, measured in milliseconds, between the current time and
the standard base time known as the epoch, 00:00:00 GMT on January 1, 1970.
See the description of the class
Date
( 21.3) for a discussion of slight discrepan
cies that may arise between computer time and UTC (Coordinated Universal
Time).
20.18.7
public static Properties getProperties()
throws SecurityException
First, if there is a security manager, its
checkPropertiesAccess
method
( 20.17.15) is called with no arguments.
The current set of system properties for use by the
getProperty
method is
returned as a Properties object ( 21.6). If there is no current set of system proper
ties, a set of system properties is first created and initialized. This set of system
properties always includes values for the following keys:
Key
Description of associated value
java.version
Java version number
java.vendor
Java vendor specific string
java.vendor.url
Java vendor URL
java.home
Java installation directory
java.class.version
Java class format version number
java.class.path
Java classpath
os.name
Operating system name
os.arch
Operating system architecture
os.version
Operating system version
file.separator
File separator (
/
on UNIX)
path.separator
Path separator (
:
on UNIX)
line.separator
Line separator (
\n
on UNIX)
user.name
User account name
user.home
User home directory
user.dir
User s current working directory
Note that even if the security manager does not permit the
getProperties
operation, it may choose to permit the
getProperty
operation ( 20.18.9).
581
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved