public class SystemInfo extends java.lang.Object implements RevisionHandler
Constructor and Description |
---|
SystemInfo()
initializes the object and reads the system information
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getSystemInfo()
returns a copy of the system info.
|
static void |
main(java.lang.String[] args)
for printing the system info to stdout.
|
java.lang.String |
toString()
returns a string representation of all the system properties
|
public SystemInfo()
public java.util.Hashtable<java.lang.String,java.lang.String> getSystemInfo()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
public static void main(java.lang.String[] args)