A B C D E G H I L M O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addToHistory(String) - Static method in class org.gnu.readline.Readline
-
Add a line to the in-memory history.
B
- byName(String) - Static method in class org.gnu.readline.ReadlineLibrary
-
Return ReadlineLibrary-object with given name.
C
- cleanup() - Static method in class org.gnu.readline.Readline
-
Reset the readline library and with it, the terminal.
- clearHistory() - Static method in class org.gnu.readline.Readline
-
Clear the history buffer.
- close() - Method in class org.gnu.readline.ReadlineReader
-
Nullifies all buffers and writes history file if one was given at construction time.
- completer(String, int) - Method in interface org.gnu.readline.ReadlineCompleter
-
A generator function for filename completion in the general case.
- completer(String, int) - Method in class test.TestCompleter
-
Return possible completion.
D
- DEFAULT_PROMPT - Static variable in class org.gnu.readline.ReadlineReader
E
- Editline - Static variable in class org.gnu.readline.ReadlineLibrary
-
Constant for Editline implementation.
G
- getCompleter() - Static method in class org.gnu.readline.Readline
-
Query current completer function.
- getEncoding() - Static method in class org.gnu.readline.Readline
-
Query current encoding of fallback BufferedReader.
- getHistory(Collection) - Static method in class org.gnu.readline.Readline
-
Get the history buffer in a supplied Collection.
- getHistoryLine(int) - Static method in class org.gnu.readline.Readline
-
Get the specified entry from the history buffer.
- getHistorySize() - Static method in class org.gnu.readline.Readline
-
Get the size, in elements (lines), of the history buffer.
- Getline - Static variable in class org.gnu.readline.ReadlineLibrary
-
Constant for Getline implementation.
- getLineBuffer() - Static method in class org.gnu.readline.Readline
-
Query the current line buffer.
- getName() - Method in class org.gnu.readline.ReadlineLibrary
-
Query name of backing library.
- getPrompt() - Method in class org.gnu.readline.ReadlineReader
-
Returns the current prompt.
- getThrowExceptionOnUnsupportedMethod() - Static method in class org.gnu.readline.Readline
-
Query behavior in case an unsupported method is called.
- getWordBreakCharacters() - Static method in class org.gnu.readline.Readline
-
Query word break characters.
- GnuReadline - Static variable in class org.gnu.readline.ReadlineLibrary
-
Constant for GNU-Readline implementation.
H
- hasTerminal() - Static method in class org.gnu.readline.Readline
-
Return if we have a terminal.
I
- initReadline(String) - Static method in class org.gnu.readline.Readline
-
Initialize the GNU-Readline library.
L
- load(ReadlineLibrary) - Static method in class org.gnu.readline.Readline
-
Load an implementing backing library.
M
- main(String[]) - Static method in class org.gnu.readline.ReadlineReader
- main(String[]) - Static method in class test.ReadlineTest
-
Main entry point.
O
- org.gnu.readline - package org.gnu.readline
P
- parseAndBind(String) - Static method in class org.gnu.readline.Readline
-
Parse argument string as if it had been read from `inputrc' file and perform key bindings and variable assignments found.
- PureJava - Static variable in class org.gnu.readline.ReadlineLibrary
-
Constant for fallback, pure Java implementation.
R
- read(char[], int, int) - Method in class org.gnu.readline.ReadlineReader
-
Reads what's given from
readline()
into a buffer. - readHistoryFile(String) - Static method in class org.gnu.readline.Readline
-
Reads a history file into memory
- readInitFile(String) - Static method in class org.gnu.readline.Readline
-
Read keybindings and variable assignments from a file.
- readline(String) - Static method in class org.gnu.readline.Readline
-
Display a prompt on standard output and read a string from standard input.
- readline(String, boolean) - Static method in class org.gnu.readline.Readline
-
Display a prompt on standard output and read a string from standard input.
- Readline - Class in org.gnu.readline
-
This class implements basic functionality of the GNU-readline interface.
- Readline() - Constructor for class org.gnu.readline.Readline
- ReadlineCompleter - Interface in org.gnu.readline
-
Callback interface that implements completion.
- ReadlineLibrary - Class in org.gnu.readline
-
This class implements a typesafe enumeration of the backing libraries.
- ReadlineReader - Class in org.gnu.readline
-
A
Reader
wrapper for the Readline classes. - ReadlineReader(File, ReadlineLibrary) - Constructor for class org.gnu.readline.ReadlineReader
-
Constructs a ReadlineReader object with an associated history file.
- ReadlineReader(String, File, ReadlineLibrary) - Constructor for class org.gnu.readline.ReadlineReader
-
Constructs a ReadlineReader object with an associated history file and prompt.
- ReadlineReader(String, ReadlineLibrary) - Constructor for class org.gnu.readline.ReadlineReader
-
Constructs a ReadlineReader object with the given prompt.
- ReadlineReader(ReadlineLibrary) - Constructor for class org.gnu.readline.ReadlineReader
-
Constructs a ReadlineReader object with the default prompt.
- ReadlineTest - Class in test
-
ReadlineTest.java This class shows the usage of the readline wrapper.
- ReadlineTest() - Constructor for class test.ReadlineTest
S
- setCompleter(ReadlineCompleter) - Static method in class org.gnu.readline.Readline
-
Set your completer implementation.
- setEncoding(String) - Static method in class org.gnu.readline.Readline
-
Set current encoding of fallback BufferedReader.
- setPrompt(String) - Method in class org.gnu.readline.ReadlineReader
-
Sets the prompt to the given value.
- setThrowExceptionOnUnsupportedMethod(boolean) - Static method in class org.gnu.readline.Readline
-
Configure behavior in case an unsupported method is called.
- setWordBreakCharacters(String) - Static method in class org.gnu.readline.Readline
-
Set word break characters.
T
- test - package test
- TestCompleter - Class in test
-
This class is a sample custom completer.
- TestCompleter() - Constructor for class test.TestCompleter
-
Default constructor.
W
- writeHistoryFile(String) - Static method in class org.gnu.readline.Readline
-
Writes a history file to disc
All Classes All Packages