Class OSInfo.Windows.Name

  • Enclosing class:
    OSInfo.Windows

    public static final class OSInfo.Windows.Name
    extends java.lang.Object
    Returns the different names provided by the operating system.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static OSList Enum()
      Returns the OS name.
      static java.lang.String String()
      Returns the OS name.
      • Methods inherited from class java.lang.Object

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

      • Enum

        public static OSList Enum()
                           throws java.io.IOException,
                                  java.lang.InterruptedException
        Returns the OS name.
        Returns:
        OS name as enum
        Throws:
        java.io.IOException - if error occurs
        java.lang.InterruptedException - if command is interrupted
      • String

        public static java.lang.String String()
                                       throws java.io.IOException,
                                              java.lang.InterruptedException
        Returns the OS name.
        Returns:
        OS name as string
        Throws:
        java.io.IOException - if error occurs
        java.lang.InterruptedException - if command is interrupted