Package com.jgcomptech.tools
Class OSInfo.Windows.Edition
- java.lang.Object
-
- com.jgcomptech.tools.OSInfo.Windows.Edition
-
- Enclosing class:
- OSInfo.Windows
public static final class OSInfo.Windows.Edition extends java.lang.Object
Returns the product type of the operating system running on this Computer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
ProductType()
Returns the product type of the OS as an integer.static java.lang.String
String()
Returns the product type of the OS as a string.
-
-
-
Method Detail
-
ProductType
public static int ProductType()
Returns the product type of the OS as an integer.- Returns:
- integer equivalent of the operating system product type
-
String
public static java.lang.String String() throws java.io.IOException, java.lang.InterruptedException
Returns the product type of the OS as a string.- Returns:
- string containing the the operating system product type
- Throws:
java.io.IOException
- if error occursjava.lang.InterruptedException
- if command is interrupted
-
-