Some renames and javadoc.

This commit is contained in:
Adam Murdoch
2012-09-01 10:02:02 +10:00
parent ee7f527b41
commit 3e4dc956ed
11 changed files with 74 additions and 43 deletions

View File

@@ -1,9 +1,27 @@
package net.rubygrapefruit.platform;
/**
* Provides access to some system information.
*/
public interface SystemInfo extends NativeIntegration {
String getKernelName();
/**
* Returns the name of the kernel for the current operating system.
*
* @throws NativeException on failure.
*/
String getKernelName() throws NativeException;
String getKernelVersion();
/**
* Returns the version of the kernel for the current operating system.
*
* @throws NativeException on failure.
*/
String getKernelVersion() throws NativeException;
String getMachineArchitecture();
/**
* Returns the machine architecture, as reported by the operating system.
*
* @throws NativeException on failure.
*/
String getMachineArchitecture() throws NativeException;
}