- Generic - net.rubygrapefruit.platform.internal.FunctionResult.Failure
-
- get(Class<T>) - Static method in class net.rubygrapefruit.platform.Native
-
Locates a native integration of the given type.
- get(Class<T>, NativeLibraryLoader) - Method in class net.rubygrapefruit.platform.internal.Platform
-
- getActivePagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getActivePagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getArchitecture() - Method in class net.rubygrapefruit.platform.internal.DefaultSystemInfo
-
- getArchitecture() - Method in class net.rubygrapefruit.platform.internal.MutableSystemInfo
-
- getArchitecture() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the machine architecture, as reported by the operating system.
- getArchitectureName() - Method in class net.rubygrapefruit.platform.internal.DefaultSystemInfo
-
- getArchitectureName() - Method in class net.rubygrapefruit.platform.internal.MutableSystemInfo
-
- getArchitectureName() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the machine architecture name, as reported by the operating system.
- getAvailablePhysicalMemory() - Method in class net.rubygrapefruit.platform.internal.DefaultMemoryInfo
-
- getAvailablePhysicalMemory() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getAvailablePhysicalMemory() - Method in interface net.rubygrapefruit.platform.MemoryInfo
-
Returns the number of bytes of physical memory that are available for use.
- getAvailablePhysicalMemory() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
Calculated.
- getBlockSize() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- 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 class net.rubygrapefruit.platform.internal.MutableTerminalSize
-
- getCols() - Method in interface net.rubygrapefruit.platform.TerminalSize
-
Returns the number of character columns in the terminal.
- getConsoleSize(int, MutableTerminalSize, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsConsoleFunctions
-
- getDeviceName() - Method in interface net.rubygrapefruit.platform.FileSystemInfo
-
Returns the operating system specific name for this file system.
- getDeviceName() - Method in class net.rubygrapefruit.platform.internal.DefaultFileSystemInfo
-
- getEnvironmentVariable(String) - Method in class net.rubygrapefruit.platform.internal.DefaultProcess
-
- getEnvironmentVariable(String) - Method in class net.rubygrapefruit.platform.internal.WrapperProcess
-
- getEnvironmentVariable(String) - Method in interface net.rubygrapefruit.platform.Process
-
Get the value of an environment variable.
- getEnvironmentVariable(String, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions
-
- getExternalPagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getExternalPagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getFailure() - Method in class net.rubygrapefruit.platform.internal.FunctionResult
-
- getFileSystems() - Method in interface net.rubygrapefruit.platform.FileSystems
-
Returns the set of all file systems for the current machine.
- getFileSystems() - Method in class net.rubygrapefruit.platform.internal.PosixFileSystems
-
- getFileSystemType() - Method in interface net.rubygrapefruit.platform.FileSystemInfo
-
Returns the operating system specific name for the type of this file system.
- getFileSystemType() - Method in class net.rubygrapefruit.platform.internal.DefaultFileSystemInfo
-
- getFreePagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getFreePagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getGid() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- getGid() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the GID of this file.
- getId() - Method in class net.rubygrapefruit.platform.internal.Platform
-
- getInactivePagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getInactivePagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getKernelName() - Method in class net.rubygrapefruit.platform.internal.DefaultSystemInfo
-
- getKernelName() - Method in class net.rubygrapefruit.platform.internal.MutableSystemInfo
-
- getKernelName() - Method in interface net.rubygrapefruit.platform.SystemInfo
-
Returns the name of the kernel for the current operating system.
- getKernelVersion() - Method in class net.rubygrapefruit.platform.internal.DefaultSystemInfo
-
- getKernelVersion() - Method in class net.rubygrapefruit.platform.internal.MutableSystemInfo
-
- 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 class net.rubygrapefruit.platform.internal.FileStat
-
- getLastModifiedTime() - Method in class net.rubygrapefruit.platform.internal.WindowsFileStat
-
- getLastModifiedTime() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the last modification time of this file, in ms since epoch.
- getLibraryName() - Method in class net.rubygrapefruit.platform.internal.Platform
-
- getLibraryVariants() - Method in class net.rubygrapefruit.platform.internal.Platform
-
- getMemoryInfo() - Method in class net.rubygrapefruit.platform.internal.DefaultMemory
-
- getMemoryInfo() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemory
-
- getMemoryInfo() - Method in interface net.rubygrapefruit.platform.Memory
-
Queries the current state of the system memory.
- getMemoryInfo() - Method in interface net.rubygrapefruit.platform.OsxMemory
-
Queries the current state of the system memory.
- getMemoryInfo(DefaultMemoryInfo, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.MemoryFunctions
-
- getMessage() - Method in class net.rubygrapefruit.platform.internal.FunctionResult
-
- getMode() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- getMode() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the mode, or permissions, of this file.
- getMode(File) - Method in class net.rubygrapefruit.platform.internal.DefaultPosixFiles
-
- 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.
- getMountPoint() - Method in class net.rubygrapefruit.platform.internal.DefaultFileSystemInfo
-
- getName() - Method in interface net.rubygrapefruit.platform.DirEntry
-
Returns the name of the file.
- getNativeTypeInfo(MutableTypeInfo) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixTypeFunctions
-
- getOsxMemoryInfo(DefaultOsxMemoryInfo, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.OsxMemoryFunctions
-
- getPageSize() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getPageSize() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getPid() - Static method in class net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions
-
- getProcessId() - Method in class net.rubygrapefruit.platform.internal.DefaultProcess
-
- getProcessId() - Method in class net.rubygrapefruit.platform.internal.WrapperProcess
-
- getProcessId() - Method in interface net.rubygrapefruit.platform.Process
-
Returns the process identifier.
- getRows() - Method in class net.rubygrapefruit.platform.internal.MutableTerminalSize
-
- 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.
- getSize() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- getSize() - Method in class net.rubygrapefruit.platform.internal.WindowsFileStat
-
- getSpeculativePagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getSpeculativePagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getStringValue(int, String, String, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsRegistryFunctions
-
- getStringValue(WindowsRegistry.Key, String, String) - Method in class net.rubygrapefruit.platform.internal.DefaultWindowsRegistry
-
- getStringValue(WindowsRegistry.Key, String, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Returns a registry key value as a String.
- getSubkeys(int, String, List<String>, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsRegistryFunctions
-
- getSubkeys(WindowsRegistry.Key, String) - Method in class net.rubygrapefruit.platform.internal.DefaultWindowsRegistry
-
- getSubkeys(WindowsRegistry.Key, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Lists the subkeys of a registry key.
- getSystemInfo(MutableSystemInfo, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.NativeLibraryFunctions
-
- getTerminal(Terminals.Output) - Method in class net.rubygrapefruit.platform.internal.AbstractTerminals
-
- getTerminal(Terminals.Output) - Method in interface net.rubygrapefruit.platform.Terminals
-
Returns the terminal attached to the given output.
- getTerminalSize() - Method in class net.rubygrapefruit.platform.internal.AnsiTerminal
-
- getTerminalSize() - Method in class net.rubygrapefruit.platform.internal.TerminfoTerminal
-
- getTerminalSize() - Method in class net.rubygrapefruit.platform.internal.WindowsTerminal
-
- getTerminalSize() - Method in class net.rubygrapefruit.platform.internal.WrapperTerminal
-
- getTerminalSize() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns the size of the terminal.
- getTerminalSize(int, MutableTerminalSize, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixTerminalFunctions
-
- getTotalPhysicalMemory() - Method in class net.rubygrapefruit.platform.internal.DefaultMemoryInfo
-
- getTotalPhysicalMemory() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getTotalPhysicalMemory() - Method in interface net.rubygrapefruit.platform.MemoryInfo
-
Returns the number of bytes of physical memory installed in the machine.
- getTotalPhysicalMemory() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getType() - Method in interface net.rubygrapefruit.platform.FileInfo
-
Returns the type of this file.
- getType() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- getType() - Method in class net.rubygrapefruit.platform.internal.WindowsFileStat
-
- getUid() - Method in class net.rubygrapefruit.platform.internal.FileStat
-
- getUid() - Method in interface net.rubygrapefruit.platform.PosixFileInfo
-
Returns the UID of this file.
- getValueNames(int, String, List<String>, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsRegistryFunctions
-
- getValueNames(WindowsRegistry.Key, String) - Method in class net.rubygrapefruit.platform.internal.DefaultWindowsRegistry
-
- getValueNames(WindowsRegistry.Key, String) - Method in interface net.rubygrapefruit.platform.WindowsRegistry
-
Lists the value names of a registry key.
- getVersion() - Static method in class net.rubygrapefruit.platform.internal.jni.NativeLibraryFunctions
-
- getVersion() - Static method in class net.rubygrapefruit.platform.internal.jni.TerminfoFunctions
-
- getWiredPagesCount() - Method in class net.rubygrapefruit.platform.internal.DefaultOsxMemoryInfo
-
- getWiredPagesCount() - Method in interface net.rubygrapefruit.platform.OsxMemoryInfo
-
- getWorkingDirectory() - Method in class net.rubygrapefruit.platform.internal.DefaultProcess
-
- getWorkingDirectory() - Method in class net.rubygrapefruit.platform.internal.WrapperProcess
-
- getWorkingDirectory() - Method in interface net.rubygrapefruit.platform.Process
-
Returns the process' current working directory.
- getWorkingDirectory(FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions
-
- Green - net.rubygrapefruit.platform.Terminal.Color
-
- setEnvironmentVariable(String, String) - Method in class net.rubygrapefruit.platform.internal.DefaultProcess
-
- setEnvironmentVariable(String, String) - Method in class net.rubygrapefruit.platform.internal.WrapperProcess
-
- setEnvironmentVariable(String, String) - Method in interface net.rubygrapefruit.platform.Process
-
Sets the value of an environment variable.
- setEnvironmentVariable(String, String, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions
-
- setMode(File, int) - Method in class net.rubygrapefruit.platform.internal.DefaultPosixFiles
-
- setMode(File, int) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Sets the mode for the given file.
- setWorkingDirectory(File) - Method in class net.rubygrapefruit.platform.internal.DefaultProcess
-
- setWorkingDirectory(File) - Method in class net.rubygrapefruit.platform.internal.WrapperProcess
-
- setWorkingDirectory(File) - Method in interface net.rubygrapefruit.platform.Process
-
Sets the process' working directory.
- setWorkingDirectory(String, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions
-
- start(ProcessBuilder) - Method in class net.rubygrapefruit.platform.internal.DefaultProcessLauncher
-
- start(ProcessBuilder) - Method in class net.rubygrapefruit.platform.internal.WindowsProcessLauncher
-
- start(ProcessBuilder) - Method in class net.rubygrapefruit.platform.internal.WrapperProcessLauncher
-
- start(ProcessBuilder) - Method in interface net.rubygrapefruit.platform.ProcessLauncher
-
Starts a process from the given settings.
- startLine(FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.TerminfoFunctions
-
- startLine(FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsConsoleFunctions
-
- startWatch(File) - Method in interface net.rubygrapefruit.platform.FileEvents
-
Starts watching the specified directory or file.
- startWatch(File) - Method in class net.rubygrapefruit.platform.internal.DefaultFileEvents
-
- stat(File) - Method in interface net.rubygrapefruit.platform.Files
-
Returns basic information about the given file.
- stat(File) - Method in class net.rubygrapefruit.platform.internal.DefaultPosixFiles
-
- stat(File) - Method in class net.rubygrapefruit.platform.internal.DefaultWindowsFiles
-
- 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.
- stat(File, boolean) - Method in interface net.rubygrapefruit.platform.Files
-
Returns basic information about the given file.
- stat(File, boolean) - Method in class net.rubygrapefruit.platform.internal.DefaultPosixFiles
-
- stat(File, boolean) - Method in class net.rubygrapefruit.platform.internal.DefaultWindowsFiles
-
- stat(File, boolean) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Returns basic information about the given file.
- stat(String, boolean, FileStat, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixFileFunctions
-
- stat(String, WindowsFileStat, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.WindowsFileFunctions
-
- Stderr - net.rubygrapefruit.platform.Terminals.Output
-
- Stdout - net.rubygrapefruit.platform.Terminals.Output
-
- supportsColor() - Method in class net.rubygrapefruit.platform.internal.AnsiTerminal
-
- supportsColor() - Method in class net.rubygrapefruit.platform.internal.TerminfoTerminal
-
- supportsColor() - Method in class net.rubygrapefruit.platform.internal.WindowsTerminal
-
- supportsColor() - Method in class net.rubygrapefruit.platform.internal.WrapperTerminal
-
- supportsColor() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns true if this terminal supports setting output colors.
- supportsCursorMotion() - Method in class net.rubygrapefruit.platform.internal.AnsiTerminal
-
- supportsCursorMotion() - Method in class net.rubygrapefruit.platform.internal.TerminfoTerminal
-
- supportsCursorMotion() - Method in class net.rubygrapefruit.platform.internal.WindowsTerminal
-
- supportsCursorMotion() - Method in class net.rubygrapefruit.platform.internal.WrapperTerminal
-
- supportsCursorMotion() - Method in interface net.rubygrapefruit.platform.Terminal
-
Returns true if this terminal supports moving the cursor.
- supportsTextAttributes() - Method in class net.rubygrapefruit.platform.internal.AnsiTerminal
-
- supportsTextAttributes() - Method in class net.rubygrapefruit.platform.internal.TerminfoTerminal
-
- supportsTextAttributes() - Method in class net.rubygrapefruit.platform.internal.WindowsTerminal
-
- supportsTextAttributes() - Method in class net.rubygrapefruit.platform.internal.WrapperTerminal
-
- 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 class net.rubygrapefruit.platform.internal.DefaultPosixFiles
-
- symlink(File, String) - Method in interface net.rubygrapefruit.platform.PosixFiles
-
Creates a symbolic link with given contents.
- symlink(String, String, FunctionResult) - Static method in class net.rubygrapefruit.platform.internal.jni.PosixFileFunctions
-
- Symlink - net.rubygrapefruit.platform.FileInfo.Type
-
- 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.internal.FunctionResult.Failure
-
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.internal.FunctionResult.Failure
-
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.
- VERSION - Static variable in class net.rubygrapefruit.platform.internal.jni.NativeLibraryFunctions
-