Class OSInfo.Windows.SystemInformation

  • Enclosing class:
    OSInfo.Windows

    public static final class OSInfo.Windows.SystemInformation
    extends java.lang.Object
    Returns information about the current Windows installation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getInfo()
      Returns information about the current Windows installation as text.
      static java.lang.String getTime()
      Returns current system time.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInfo

        public static java.lang.String getInfo()
                                        throws java.io.IOException
        Returns information about the current Windows installation as text.
        Returns:
        Information as string
        Throws:
        java.io.IOException - if command cannot be run
      • getTime

        public static java.lang.String getTime()
        Returns current system time.
        Returns:
        Current time as string