Package weka.core
Class SystemInfo
- java.lang.Object
-
- weka.core.SystemInfo
-
- All Implemented Interfaces:
RevisionHandler
public class SystemInfo extends java.lang.Object implements RevisionHandler
This class prints some information about the system setup, like Java version, JVM settings etc. Useful for Bug-Reports.- Version:
- $Revision: 1.5 $
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description SystemInfo()initializes the object and reads the system information
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRevision()Returns the revision string.java.util.HashtablegetSystemInfo()returns a copy of the system info.static voidmain(java.lang.String[] args)for printing the system info to stdout.java.lang.StringtoString()returns a string representation of all the system properties
-
-
-
Method Detail
-
getSystemInfo
public java.util.Hashtable getSystemInfo()
returns a copy of the system info. the key is the name of the property and the associated object is the value of the property (a string).
-
toString
public java.lang.String toString()
returns a string representation of all the system properties- Overrides:
toStringin classjava.lang.Object
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
main
public static void main(java.lang.String[] args)
for printing the system info to stdout.
-
-