B C F G I N P R S T V 

B

bold() - Method in interface net.rubygrapefruit.platform.Terminal
Switches the terminal to bold mode, if supported.

C

clearToEndOfLine() - Method in interface net.rubygrapefruit.platform.Terminal
Clears characters from the cursor position to the end of the current line.
cursorDown(int) - Method in interface net.rubygrapefruit.platform.Terminal
Moves the cursor the given number of characters down.
cursorLeft(int) - Method in interface net.rubygrapefruit.platform.Terminal
Moves the cursor the given number of characters to the left.
cursorRight(int) - Method in interface net.rubygrapefruit.platform.Terminal
Moves the cursor the given number of characters to the right.
cursorStartOfLine() - Method in interface net.rubygrapefruit.platform.Terminal
Moves the cursor to the start of the current line.
cursorUp(int) - Method in interface net.rubygrapefruit.platform.Terminal
Moves the cursor the given number of characters up.

F

FileSystem - Interface in net.rubygrapefruit.platform
Information about a file system.
FileSystems - Interface in net.rubygrapefruit.platform
Provides access to the file systems of the current machine.
foreground(Terminal.Color) - Method in interface net.rubygrapefruit.platform.Terminal
Sets the terminal foreground color, if supported.

G

get(Class<T>) - Static method in class net.rubygrapefruit.platform.Native
Locates a native integration of the given type.
getCols() - Method in interface net.rubygrapefruit.platform.TerminalSize
Returns the number of character columns in the terminal.
getDeviceName() - Method in interface net.rubygrapefruit.platform.FileSystem
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.FileSystem
Returns the operating system specific name for the type of this file system.
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.
getMachineArchitecture() - Method in interface net.rubygrapefruit.platform.SystemInfo
Returns the machine architecture, as reported by the operating system.
getMode(File) - Method in interface net.rubygrapefruit.platform.PosixFile
Gets the mode for the given file.
getMountPoint() - Method in interface net.rubygrapefruit.platform.FileSystem
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.
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.
getWorkingDirectory() - Method in interface net.rubygrapefruit.platform.Process
Returns the process' current working directory.

I

init(File) - Static method in class net.rubygrapefruit.platform.Native
Initialises the native integration, if not already initialized.
isRemote() - Method in interface net.rubygrapefruit.platform.FileSystem
Returns true if this file system is a remote file system, or false if local.
isTerminal(Terminals.Output) - Method in interface net.rubygrapefruit.platform.Terminals
Returns true if the given output is attached to a terminal.

N

Native - Class in net.rubygrapefruit.platform
Provides access to the native integrations.
NativeException - Exception in net.rubygrapefruit.platform
 
NativeException(String, Throwable) - Constructor for exception net.rubygrapefruit.platform.NativeException
 
NativeException(String) - Constructor for exception net.rubygrapefruit.platform.NativeException
 
NativeIntegration - Interface in net.rubygrapefruit.platform
A marker interface that represents a native integration.
NativeIntegrationUnavailableException - Exception in net.rubygrapefruit.platform
Thrown when a given integration is not available for the current machine.
NativeIntegrationUnavailableException(String) - Constructor for exception net.rubygrapefruit.platform.NativeIntegrationUnavailableException
 
net.rubygrapefruit.platform - package net.rubygrapefruit.platform
The native integrations.
normal() - Method in interface net.rubygrapefruit.platform.Terminal
Switches the terminal to normal mode.

P

PosixFile - Interface in net.rubygrapefruit.platform
Functions to query and modify a file's POSIX meta-data.
Process - Interface in net.rubygrapefruit.platform
Functions to query and modify a process' state.
ProcessLauncher - Interface in net.rubygrapefruit.platform
Used to start processes, taking care of some platform-specific issues when launching processes concurrently or launching processes that will run in the background.

R

readLink(File) - Method in interface net.rubygrapefruit.platform.PosixFile
Reads the contents of a symbolic link.
reset() - Method in interface net.rubygrapefruit.platform.Terminal
Switches the terminal to normal mode and restores default colors.

S

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.PosixFile
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.
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.PosixFile
Creates a symbolic link.
SystemInfo - Interface in net.rubygrapefruit.platform
Provides access to some system information.

T

Terminal - Interface in net.rubygrapefruit.platform
Allows the terminal/console to be manipulated.
Terminal.Color - Enum in net.rubygrapefruit.platform
Basic colors supported by a terminal.
Terminals - Interface in net.rubygrapefruit.platform
Provides access to the terminal/console.
Terminals.Output - Enum in net.rubygrapefruit.platform
System outputs.
TerminalSize - Interface in net.rubygrapefruit.platform
The size of a terminal.
ThreadSafe - Annotation Type in net.rubygrapefruit.platform
Indicates that the given class or method is thread safe.

V

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.
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.
B C F G I N P R S T V