public class OS extends Object
Constructor and Description |
---|
OS() |
Modifier and Type | Method and Description |
---|---|
String |
getArch()
Returns the OS arch.
|
String |
getName()
Returns the OS name.
|
String |
getVersion()
Returns the OS version.
|
boolean |
isWindows()
Returns true if the operating system is Windows and false otherwise
|
public String getName()
public String getVersion()
public String getArch()
public boolean isWindows()
Copyright © 2021. All rights reserved.