Package com.jgcomptech.tools
Class OSInfo.Windows.Name
- java.lang.Object
-
- com.jgcomptech.tools.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.
-
-
-
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 occursjava.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 occursjava.lang.InterruptedException
- if command is interrupted
-
-