public abstract class AbstractOperatingSystem extends Object implements OperatingSystem
| Modifier and Type | Field and Description |
|---|---|
protected String |
family |
protected String |
manufacturer |
protected OperatingSystemVersion |
version |
| Constructor and Description |
|---|
AbstractOperatingSystem() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamily()
Operating system family.
|
String |
getManufacturer()
Manufacturer.
|
OperatingSystemVersion |
getVersion()
Operating system version.
|
javax.json.JsonObject |
toJSON()
Creates a compact JSON string containing the information for this class
|
String |
toString() |
protected String manufacturer
protected String family
protected OperatingSystemVersion version
public OperatingSystemVersion getVersion()
getVersion in interface OperatingSystempublic String getFamily()
getFamily in interface OperatingSystempublic String getManufacturer()
getManufacturer in interface OperatingSystempublic javax.json.JsonObject toJSON()
toJSON in interface OshiJsonObjectCopyright © 2010–2016 com.github.dblock. All rights reserved.