- get(Class<T>) - Static method in class net.rubygrapefruit.platform.Native
-
Locates a native integration of the given type.
- getArchitecture() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the machine architecture, as reported by the operating system.
- getArchitectureName() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the machine architecture name, as reported by the operating system.
- getBlockSize() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the optimal block size for reading or writing to this file, in bytes.
- getCols() - Method in interface net.rubygrapefruit.platform.TerminalSize
-
Returns the number of character columns in the terminal.
- getDeviceName() - Method in interface net.rubygrapefruit.platform.FileSystemInfo
-
Returns the operating system specific name for this file system.
- getEnvironmentVariable(String) - Method in interface net.rubygrapefruit.platform.Process
-
Get the value of an environment variable.
- getFileSystems() - Method in interface net.rubygrapefruit.platform.FileSystems
-
Returns the set of all file systems for the current machine.
- getFileSystemType() - Method in interface net.rubygrapefruit.platform.FileSystemInfo
-
Returns the operating system specific name for the type of this file system.
- getGid() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the GID of this file.
- getKernelName() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the name of the kernel for the current operating system.
- getKernelVersion() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the version of the kernel for the current operating system.
- getLastModifiedTime() - Method in interface net.rubygrapefruit.platform.FileInfo
-
Returns the last modification time of this file, in ms since epoch.
- getLastModifiedTime() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the last modification time of this file, in ms since epoch.
- getMode() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the mode, or permissions, of this file.
- getMode(File) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Gets the mode for the given file.
- getMountPoint() - Method in interface net.rubygrapefruit.platform.FileSystemInfo
-
Returns the root directory of this file system.
- getProcessId() - Method in interface net.rubygrapefruit.platform.Process
-
Returns the process identifier.
- getRows() - Method in interface net.rubygrapefruit.platform.TerminalSize
-
Returns the number of character rows in the terminal.
- getSize() - Method in interface net.rubygrapefruit.platform.FileInfo
-
Returns the size of this file, in bytes.
- getStringValue(WindowsRegistry.Key, String, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Returns a registry key value as a String.
- getSubkeys(WindowsRegistry.Key, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Lists the subkeys of a registry key.
- getTerminal(Terminals.Output) - Method in interface net.rubygrapefruit.platform.Terminals
-
Returns the terminal attached to the given output.
- getTerminalSize() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns the size of the terminal.
- getType() - Method in interface net.rubygrapefruit.platform.FileInfo
-
Returns the type of this file.
- getUid() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the UID of this file.
- getValueNames(WindowsRegistry.Key, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Lists the value names of a registry key.
- getWorkingDirectory() - Method in interface net.rubygrapefruit.platform.Process
-
Returns the process' current working directory.
- setEnvironmentVariable(String, String) - Method in interface net.rubygrapefruit.platform.Process
-
Sets the value of an environment variable.
- setMode(File, int) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Sets the mode for the given file.
- setWorkingDirectory(File) - Method in interface net.rubygrapefruit.platform.Process
-
Sets the process' working directory.
- start(ProcessBuilder) - Method in interface net.rubygrapefruit.platform.ProcessLauncher
-
Starts a process from the given settings.
- startWatch(File) - Method in interface net.rubygrapefruit.platform.FileEvents
-
Starts watching the specified directory or file.
- stat(File) - Method in interface net.rubygrapefruit.platform.Files
-
Returns basic information about the given file.
- stat(File) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Returns basic information about the given file.
- stat(File) - Method in interface net.rubygrapefruit.platform.WindowsFiles
-
Returns basic information about the given file.
- supportsColor() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns true if this terminal supports setting output colors.
- supportsCursorMotion() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns true if this terminal supports moving the cursor.
- supportsTextAttributes() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns true if this terminal supports setting text attributes, such as bold.
- symlink(File, String) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Creates a symbolic link with given contents.
- SystemInfo - Interface in net.rubygrapefruit.platform
-
Provides access to some system information.
- SystemInfo.Architecture - Enum in net.rubygrapefruit.platform
-
- valueOf(String) - Static method in enum net.rubygrapefruit.platform.FileInfo.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.rubygrapefruit.platform.SystemInfo.Architecture
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.rubygrapefruit.platform.Terminal.Color
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.rubygrapefruit.platform.Terminals.Output
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.rubygrapefruit.platform.WindowsRegistry.Key
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.rubygrapefruit.platform.FileInfo.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.rubygrapefruit.platform.SystemInfo.Architecture
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.rubygrapefruit.platform.Terminal.Color
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.rubygrapefruit.platform.Terminals.Output
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.rubygrapefruit.platform.WindowsRegistry.Key
-
Returns an array containing the constants of this enum type, in
the order they are declared.