Package br.com.jarch.util
Class OperationSystemUtils
- java.lang.Object
-
- br.com.jarch.util.OperationSystemUtils
-
public final class OperationSystemUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
computerName()
static OperationSystemType
getOperationSystem()
static java.lang.String
hostAddress()
static boolean
linux()
static boolean
windows()
-
-
-
Method Detail
-
linux
public static boolean linux()
-
windows
public static boolean windows()
-
computerName
public static java.lang.String computerName() throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
-
hostAddress
public static java.lang.String hostAddress() throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
-
getOperationSystem
public static OperationSystemType getOperationSystem()
-
-