Class DefaultSystemInfo
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.DefaultSystemInfo
-
- All Implemented Interfaces:
NativeIntegration
,SystemInfo
public class DefaultSystemInfo extends Object implements SystemInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.rubygrapefruit.platform.SystemInfo
SystemInfo.Architecture
-
-
Constructor Summary
Constructors Constructor Description DefaultSystemInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemInfo.Architecture
getArchitecture()
Returns the machine architecture, as reported by the operating system.String
getArchitectureName()
Returns the machine architecture name, as reported by the operating system.String
getKernelName()
Returns the name of the kernel for the current operating system.String
getKernelVersion()
Returns the version of the kernel for the current operating system.
-
-
-
Method Detail
-
getKernelName
public String getKernelName()
Description copied from interface:SystemInfo
Returns the name of the kernel for the current operating system.- Specified by:
getKernelName
in interfaceSystemInfo
-
getKernelVersion
public String getKernelVersion()
Description copied from interface:SystemInfo
Returns the version of the kernel for the current operating system.- Specified by:
getKernelVersion
in interfaceSystemInfo
-
getArchitectureName
public String getArchitectureName()
Description copied from interface:SystemInfo
Returns the machine architecture name, as reported by the operating system.- Specified by:
getArchitectureName
in interfaceSystemInfo
-
getArchitecture
public SystemInfo.Architecture getArchitecture()
Description copied from interface:SystemInfo
Returns the machine architecture, as reported by the operating system.- Specified by:
getArchitecture
in interfaceSystemInfo
-
-