public class AbstractOSVersionInfoEx extends Object implements OperatingSystemVersion
Modifier and Type | Field and Description |
---|---|
protected String |
buildNumber |
protected String |
codeName |
protected String |
version |
protected String |
versionStr |
Constructor and Description |
---|
AbstractOSVersionInfoEx() |
Modifier and Type | Method and Description |
---|---|
String |
getBuildNumber() |
String |
getCodeName() |
String |
getVersion() |
void |
setBuildNumber(String buildNumber) |
void |
setCodeName(String codeName) |
void |
setVersion(String version) |
String |
toString() |
protected String version
protected String codeName
protected String versionStr
protected String buildNumber
public String getVersion()
getVersion
in interface OperatingSystemVersion
public void setVersion(String version)
setVersion
in interface OperatingSystemVersion
version
- the version to setpublic String getCodeName()
getCodeName
in interface OperatingSystemVersion
public void setCodeName(String codeName)
setCodeName
in interface OperatingSystemVersion
codeName
- the codeName to setpublic String getBuildNumber()
getBuildNumber
in interface OperatingSystemVersion
public void setBuildNumber(String buildNumber)
setBuildNumber
in interface OperatingSystemVersion
buildNumber
- the build number to setCopyright © 2010–2021 oshi. All rights reserved.