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.ObjectReturns information about the current Windows installation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetInfo()Returns information about the current Windows installation as text.static java.lang.StringgetTime()Returns current system time.
-
-
-
Method Detail
-
getInfo
public static java.lang.String getInfo() throws java.io.IOExceptionReturns 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
-
-