Package com.jgcomptech.tools
Class OSInfo.Windows.SystemInformation
- java.lang.Object
-
- com.jgcomptech.tools.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.
-
-
-
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
-
-