net.rubygrapefruit.platform.internal
Class DefaultSystemInfo

java.lang.Object
  extended by net.rubygrapefruit.platform.internal.DefaultSystemInfo
All Implemented Interfaces:
NativeIntegration, SystemInfo

public class DefaultSystemInfo
extends java.lang.Object
implements SystemInfo


Constructor Summary
DefaultSystemInfo()
           
 
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
 

Constructor Detail

DefaultSystemInfo

public DefaultSystemInfo()
Method Detail

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