Overview
Package
Class
Tree
Serialized
Deprecated
Index
Help
The Java-Readline Library, Version 0.8.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
O
P
R
S
T
W
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
Getline
- Static variable in class org.gnu.readline.
ReadlineLibrary
Constant for Getline implementation.
GnuReadline
- Static variable in class org.gnu.readline.
ReadlineLibrary
Constant for GNU-Readline implementation.
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.
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.
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
PureJava
- Static variable in class org.gnu.readline.
ReadlineLibrary
Constant for fallback, pure Java implementation.
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.
R
Readline
- class org.gnu.readline.
Readline
.
This class implements basic functionality of the GNU-readline interface.
Readline()
- Constructor for class org.gnu.readline.
Readline
ReadlineCompleter
- interface org.gnu.readline.
ReadlineCompleter
.
Callback interface that implements completion.
ReadlineLibrary
- class org.gnu.readline.
ReadlineLibrary
.
This class implements a typesafe enumeration of the backing libraries.
ReadlineReader
- class org.gnu.readline.
ReadlineReader
.
A
Reader
wrapper for the Readline classes.
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.
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.
ReadlineTest
- class test.
ReadlineTest
.
ReadlineTest.java This class shows the usage of the readline wrapper.
ReadlineTest()
- Constructor for class test.
ReadlineTest
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.
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
TestCompleter
- class test.
TestCompleter
.
This class is a sample custom completer.
TestCompleter()
- Constructor for class test.
TestCompleter
Default constructor.
test
- package test
W
writeHistoryFile(String)
- Static method in class org.gnu.readline.
Readline
Writes a history file to disc
A
B
C
D
E
G
H
I
L
M
O
P
R
S
T
W
Overview
Package
Class
Tree
Serialized
Deprecated
Index
Help
The Java-Readline Library, Version 0.8.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Released under the LGPL, (c) Bernhard Bablok, Henner Zeller 1998-2002
Homepage:
http://java-readline.sourceforge.net/