net.rubygrapefruit.platform.internal
Class MutableSystemInfo
java.lang.Object
net.rubygrapefruit.platform.internal.MutableSystemInfo
- All Implemented Interfaces:
- NativeIntegration, SystemInfo
public class MutableSystemInfo
- extends java.lang.Object
- implements SystemInfo
Method Summary |
java.lang.String |
getKernelName()
Returns the name of the kernel for the current operating system. |
java.lang.String |
getKernelVersion()
Returns the version of the kernel for the current operating system. |
java.lang.String |
getMachineArchitecture()
Returns the machine architecture, as reported by the operating system. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
osName
public java.lang.String osName
osVersion
public java.lang.String osVersion
machineArchitecture
public java.lang.String machineArchitecture
MutableSystemInfo
public MutableSystemInfo()
getKernelName
public java.lang.String getKernelName()
- Description copied from interface:
SystemInfo
- Returns the name of the kernel for the current operating system.
- Specified by:
getKernelName
in interface SystemInfo
getKernelVersion
public java.lang.String getKernelVersion()
- Description copied from interface:
SystemInfo
- Returns the version of the kernel for the current operating system.
- Specified by:
getKernelVersion
in interface SystemInfo
getMachineArchitecture
public java.lang.String getMachineArchitecture()
- Description copied from interface:
SystemInfo
- Returns the machine architecture, as reported by the operating system.
- Specified by:
getMachineArchitecture
in interface SystemInfo