Class DefaultSystemInfo
java.lang.Object
net.rubygrapefruit.platform.internal.DefaultSystemInfo
- All Implemented Interfaces:
NativeIntegration,SystemInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.rubygrapefruit.platform.SystemInfo
SystemInfo.Architecture -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the machine architecture, as reported by the operating system.Returns the machine architecture name, as reported by the operating system.Returns the name of the kernel for the current operating system.Returns the version of the kernel for the current operating system.
-
Constructor Details
-
DefaultSystemInfo
public DefaultSystemInfo()
-
-
Method Details
-
getKernelName
Description copied from interface:SystemInfoReturns the name of the kernel for the current operating system.- Specified by:
getKernelNamein interfaceSystemInfo
-
getKernelVersion
Description copied from interface:SystemInfoReturns the version of the kernel for the current operating system.- Specified by:
getKernelVersionin interfaceSystemInfo
-
getArchitectureName
Description copied from interface:SystemInfoReturns the machine architecture name, as reported by the operating system.- Specified by:
getArchitectureNamein interfaceSystemInfo
-
getArchitecture
Description copied from interface:SystemInfoReturns the machine architecture, as reported by the operating system.- Specified by:
getArchitecturein interfaceSystemInfo
-