Package weka.core

Class SystemInfo

  • All Implemented Interfaces:
    RevisionHandler

    public class SystemInfo
    extends Object
    implements RevisionHandler
    This class prints some information about the system setup, like Java version, JVM settings etc. Useful for Bug-Reports.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SystemInfo

        public SystemInfo()
        initializes the object and reads the system information
    • Method Detail

      • getSystemInfo

        public Hashtable<String,​String> 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 String toString()
        returns a string representation of all the system properties
        Overrides:
        toString in class Object
      • main

        public static void main​(String[] args)
        for printing the system info to stdout.