Alphabetical Index

A B C D E F G H I J K L M N O P Q R S T U W Y

A

Abstract implementation of a delimiter that uses the isDelimiter(String,int) method to determine if a particular character should be used as a delimiter.
ADD - static field in class jline.ConsoleOperations
Operation that
Add the specified Completor to the list of handlers for tab-completion.
addToHistory(String) - method in class jline.History
Add the specified buffer to the end of the history.
Adding a triggered Action allows to give another curse of action if a character passed the preprocessing.
Invokes after the console reads a line with the prompt and mask.
ansiBuffer - field in class jline.ANSIBuffer
ANSIBuffer - class jline.ANSIBuffer
A buffer that can contain ANSI text.
ANSIBuffer() - constructor for class jline.ANSIBuffer
ANSIBuffer(String) - constructor for class jline.ANSIBuffer
ANSICodes() - constructor for class jline.ANSIBuffer.ANSICodes
Constructor is private since this is a utility class.
ansiEnabled - field in class jline.ANSIBuffer
append(String) - method in class jline.ANSIBuffer
A Completor implementation that invokes a child completor using the appropriate separator argument.
Constuctor: create a new completor with the default argument separator of " ".
Constuctor: create a new completor with the specified argument delimiter.
Constuctor: create a new completor with the default argument separator of " ".
Constuctor: create a new completor with the specified argument delimiter.
ArgumentCompletor(List) - constructor for class jline.ArgumentCompletor
Constuctor: create a new completor with the default argument separator of " ".
The ArgumentCompletor.ArgumentDelimiter allows custom breaking up of a String into individual arguments in order to dispatch the arguments to the nested Completor.
The result of a delimited buffer.
ARROW_DOWN - static field in class jline.UnixTerminal
ARROW_LEFT - static field in class jline.UnixTerminal
ARROW_PREFIX - static field in class jline.UnixTerminal
ARROW_RIGHT - static field in class jline.UnixTerminal
ARROW_START - static field in class jline.UnixTerminal
ARROW_UP - static field in class jline.UnixTerminal
attrib(int) - static method in class jline.ANSIBuffer.ANSICodes
Sets the character attribute.
attrib(String,int) - method in class jline.ANSIBuffer
autoprintThreshhold - field in class jline.ConsoleReader
The number of tab-completion candidates above which a warning will be prompted before showing all the candidates.
InputStreamReader is greedy and will try to read bytes in advance.
InputStreamReader is greedy and will try to read bytes in advance.

B

back(int) - method in class jline.ConsoleReader
Move the visual cursor backwards without modifying the buffer cursor.
BACKSPACE - static field in class jline.ConsoleOperations
backspace() - method in class jline.ConsoleReader
Issue a backspace.
backspace(int) - method in class jline.ConsoleReader
Issue num backspaces.
backspaceAll() - method in class jline.ConsoleReader
backspaceDeleteSwitched - field in class jline.UnixTerminal
beep() - method in class jline.ConsoleReader
Issue an audible keyboard bell, if getBellEnabled() return true.
Invokes before the console reads a line with the prompt and mask.
bellEnabled - field in class jline.ConsoleReader
If true, issue an audible keyboard bell when appropriate.
black(String) - method in class jline.ANSIBuffer
BLINK - static field in class jline.ANSIBuffer.ANSICodes
blink(String) - method in class jline.ANSIBuffer
blue(String) - method in class jline.ANSIBuffer
BOLD - static field in class jline.ANSIBuffer.ANSICodes
bold(String) - method in class jline.ANSIBuffer
buf - field in class jline.ConsoleReader
buffer - field in class jline.CursorBuffer

C

A CompletionHandler that deals with multiple distinct completions by cycling through each one every time tab is pressed.
A CompletionHandler that deals with multiple distinct completions by outputting the complete list of possibilities to the console.
candidates - field in class jline.SimpleCompletor
The list of candidates that will be completed.
CHANGE_CASE - static field in class jline.ConsoleOperations
Operation that toggles between uppercase and lowercase.
CHANGE_META - static field in class jline.ConsoleOperations
Operation that
checkBackspace() - method in class jline.UnixTerminal
A Completor implementation that completes java class names.
ClassNameCompletor() - constructor for class jline.ClassNameCompletor
Complete candidates using all the classes available in the java CLASSPATH.
clear() - method in class jline.History
Clear the history buffer
CLEAR_LINE - static field in class jline.ConsoleOperations
Operation that clears whatever text is on the current line.
CLEAR_SCREEN - static field in class jline.ConsoleOperations
Operation that clears the screen.
clearAhead(int) - method in class jline.ConsoleReader
Clear ahead the specified number of characters without moving the cursor.
clearBuffer() - method in class jline.CursorBuffer
clearEcho(int) - method in class jline.ConsoleReader
Clear the echoed characters for the specified character code.
clearScreen() - method in class jline.ConsoleReader
Clear the screen by issuing the ANSI "clear screen" code.
clone() - method in class jline.SimpleCompletor
clreol() - static method in class jline.ANSIBuffer.ANSICodes
Removes all characters from the current cursor position until the end of the line.
clrscr() - static method in class jline.ANSIBuffer.ANSICodes
Clears the screen and moves the cursor to the home postition.
COMPLETE - static field in class jline.ConsoleOperations
Operation that performs completion operation on the current word.
complete() - method in class jline.ConsoleReader
Use the completors to modify the buffer with the appropriate completions.
Populates candidates with a list of possible completions for the buffer.
complete(String,int,List) - method in class jline.Completor
Populates candidates with a list of possible completions for the buffer.
Populates candidates with a list of possible completions for the buffer.
Returns -1 always, indicating that the the buffer is never handled.
Populates candidates with a list of possible completions for the buffer.
completionHandler - field in class jline.ConsoleReader
Handler for dealing with candidates for tab-completion.
Completor - interface jline.Completor
A Completor is the mechanism by which tab-completion candidates will be resolved.
completors - field in class jline.ArgumentCompletor
completors - field in class jline.ConsoleReader
completors - field in class jline.MultiCompletor
CONCEALED - static field in class jline.ANSIBuffer.ANSICodes
Symbolic constants for Console operations and virtual key bindings.
A reader for console applications.
ConsoleReader() - constructor for class jline.ConsoleReader
Create a new reader using FileDescriptor.in for input and System.out for output.
ConsoleReader(InputStream,Writer) - constructor for class jline.ConsoleReader
Create a new reader using the specified InputStream for input and the specific writer for output, using the default keybindings resource.
Create a new reader.
An InputStream implementation that wraps a ConsoleReader.
A pass-through application that sets the system input stream to a ConsoleReader and invokes the specified main method.
No-op for exceptions we want to silently consume.
No-op for exceptions we want to silently consume.
No-op for exceptions we want to silently consume.
CR - static field in class jline.ConsoleOperations
CR - static field in class jline.ConsoleReader
CTRL_A - static field in class jline.ConsoleOperations
CTRL_B - static field in class jline.ConsoleOperations
CTRL_C - static field in class jline.ConsoleOperations
CTRL_D - static field in class jline.ConsoleOperations
CTRL_E - static field in class jline.ConsoleOperations
CTRL_F - static field in class jline.ConsoleOperations
CTRL_K - static field in class jline.ConsoleOperations
CTRL_L - static field in class jline.ConsoleOperations
CTRL_N - static field in class jline.ConsoleOperations
CTRL_OB - static field in class jline.ConsoleOperations
CTRL_P - static field in class jline.ConsoleOperations
CTRL_QM - static field in class jline.ConsoleOperations
current() - method in class jline.CursorBuffer
current() - method in class jline.History
Return the content of the current buffer.
currentIndex - field in class jline.History
cursor - field in class jline.CursorBuffer
A CursorBuffer is a holder for a StringBuffer that also contains the current cursor position.
cyan(String) - method in class jline.ANSIBuffer

D

debug(String) - static method in class jline.ConsoleReader
debug.
debugger - static field in class jline.ConsoleReader
DEL_SECOND - static field in class jline.UnixTerminal
DEL_THIRD - static field in class jline.UnixTerminal
DELETE - static field in class jline.ConsoleOperations
delete() - method in class jline.ConsoleReader
Issue a delete.
delete(int) - method in class jline.ConsoleReader
Issue num deletes.
DELETE_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the delete key was pressed.
DELETE_META - static field in class jline.ConsoleOperations
Operation that
DELETE_NEXT_CHAR - static field in class jline.ConsoleOperations
Operation that deletes the previous character.
DELETE_PREV_CHAR - static field in class jline.ConsoleOperations
Operation that
DELETE_PREV_WORD - static field in class jline.ConsoleOperations
Operation that deletes the previous word in the buffer.
deleteCurrentCharacter() - method in class jline.ConsoleReader
Delete the character at the current position and redraw the remainder of the buffer.
deletePreviousWord() - method in class jline.ConsoleReader
delim - field in class jline.ArgumentCompletor
Break the specified buffer into individual tokens that can be completed on their own.
delimiter - field in class jline.SimpleCompletor
A delimiter to use to qualify completions.
directConsole - field in class jline.WindowsTerminal
disableEcho() - method in class jline.Terminal
Disable character echoing.
disableEcho() - method in class jline.UnixTerminal
disableEcho() - method in class jline.UnsupportedTerminal
disableEcho() - method in class jline.WindowsTerminal
down(int) - static method in class jline.ANSIBuffer.ANSICodes
Moves the cursor n rows down.
DOWN_ARROW_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an down arrow key press.
drawBuffer() - method in class jline.ConsoleReader
Redraw the rest of the buffer from the cursor onwards.
drawBuffer(int) - method in class jline.ConsoleReader
Redraw the rest of the buffer from the cursor onwards.
drawLine() - method in class jline.ConsoleReader
Output put the prompt + the current buffer

E

echoCharacter - field in class jline.ConsoleReader
echoEnabled - field in class jline.UnixTerminal
echoEnabled - field in class jline.WindowsTerminal
ENABLE_ECHO_INPUT - static field in class jline.WindowsTerminal
Characters read by the ReadFile or ReadConsole function are written to the active screen buffer as they are read.
ENABLE_LINE_INPUT - static field in class jline.WindowsTerminal
The ReadFile or ReadConsole function returns only when a carriage return character is read.
ENABLE_MOUSE_INPUT - static field in class jline.WindowsTerminal
If the mouse pointer is within the borders of the console window and the window has the keyboard focus, mouse events generated by mouse movement and button presses are placed in the input buffer.
ENABLE_PROCESSED_INPUT - static field in class jline.WindowsTerminal
CTRL+C is processed by the system and is not placed in the input buffer.
ENABLE_PROCESSED_OUTPUT - static field in class jline.WindowsTerminal
When enabled, text entered in a console window will be inserted at the current cursor location and all text following that location will not be overwritten.
ENABLE_WINDOW_INPUT - static field in class jline.WindowsTerminal
User interactions that change the size of the console screen buffer are reported in the console's input buffee.
ENABLE_WRAP_AT_EOL_OUTPUT - static field in class jline.WindowsTerminal
This flag enables the user to use the mouse to select and edit text.
enableEcho() - method in class jline.Terminal
Enable character echoing.
enableEcho() - method in class jline.UnixTerminal
enableEcho() - method in class jline.UnsupportedTerminal
enableEcho() - method in class jline.WindowsTerminal
encoding - field in class jline.UnixTerminal
encoding - field in class jline.WindowsTerminal
END_CODE - static field in class jline.UnixTerminal
END_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the end key was pressed.
END_OF_HISTORY - static field in class jline.ConsoleOperations
Operation that moves the current History to the end.
END_WORD - static field in class jline.ConsoleOperations
Operation that
ESC - static field in class jline.ANSIBuffer.ANSICodes
ESCAPE_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR, this character indicates that the escape key was pressed.
exec(String) - static method in class jline.UnixTerminal
Execute the specified command and return the output (both stdout and stderr).
exec(String[]) - static method in class jline.UnixTerminal
Execute the specified command and return the output (both stdout and stderr).
EXIT - static field in class jline.ConsoleOperations
Operation that exits the command prompt.

F

FG_BLACK - static field in class jline.ANSIBuffer.ANSICodes
FG_BLUE - static field in class jline.ANSIBuffer.ANSICodes
FG_CYAN - static field in class jline.ANSIBuffer.ANSICodes
FG_GREEN - static field in class jline.ANSIBuffer.ANSICodes
FG_MAGENTA - static field in class jline.ANSIBuffer.ANSICodes
FG_RED - static field in class jline.ANSIBuffer.ANSICodes
FG_WHITE - static field in class jline.ANSIBuffer.ANSICodes
FG_YELLOW - static field in class jline.ANSIBuffer.ANSICodes
A file name completor takes the buffer and issues a list of potential completions.
filter - field in class jline.SimpleCompletor
Filter the specified String.
finishBuffer() - method in class jline.ConsoleReader
Clear the buffer and add its contents to the history.
flushBuffer() - method in class jline.History
Flush the entire history buffer to the output PrintWriter.
flushConsole() - method in class jline.ConsoleReader
Flush the console output stream.

G

getAnsiBuffer() - method in class jline.ANSIBuffer
getAnsiEnabled() - method in class jline.ANSIBuffer
getAutoprintThreshhold() - method in class jline.ConsoleReader
getBellEnabled() - method in class jline.ConsoleReader
getBuffer() - method in class jline.CursorBuffer
getCandidates() - method in class jline.SimpleCompletor
getClassNames() - static method in class jline.ClassNameCompletor
getCompletionHandler() - method in class jline.ConsoleReader
getCompletors() - method in class jline.ConsoleReader
Returns an unmodifiable list of all the completors.
getCompletors() - method in class jline.MultiCompletor
getConsoleMode() - method in class jline.WindowsTerminal
getCurrentIndex() - method in class jline.History
Returns the current history index.
getCursorBuffer() - method in class jline.ConsoleReader
getCursorPosition() - method in class jline.ConsoleReader
getDefaultBindings() - method in class jline.Terminal
getDefaultBindings() - method in class jline.WindowsTerminal
getDefaultPrompt() - method in class jline.ConsoleReader
The default prompt that will be issued.
getDelimiter() - method in class jline.SimpleCompletor
getDirectConsole() - method in class jline.WindowsTerminal
Whether or not to allow the use of the JNI console interaction.
getEcho() - method in class jline.Terminal
Returns true if the terminal will echo all characters type.
getEcho() - method in class jline.UnixTerminal
getEcho() - method in class jline.UnsupportedTerminal
getEcho() - method in class jline.WindowsTerminal
getEchoCharacter() - method in class jline.ConsoleReader
Returns the echo character.
getHistory() - method in class jline.ConsoleReader
getHistoryList() - method in class jline.History
Returns an immutable list of the history buffer.
getInput() - method in class jline.ConsoleReader
Returns the stream used for console input.
getKeyForAction(short) - method in class jline.ConsoleReader
getMaxSize() - method in class jline.History
Get the maximum size that the history buffer will store.
getOutput() - method in class jline.History
Returns the PrintWriter that is used to store history elements.
getPlainBuffer() - method in class jline.ANSIBuffer
Return the number of characters that will be printed when the specified character is echoed to the screen.
getStrict() - method in class jline.ArgumentCompletor
Returns whether a completion at argument index N will succees if all the completions from arguments 0-(N-1) also succeed.
getStrings(Reader) - static method in class jline.SimpleCompletor
getSttyCommand() - static method in class jline.UnixTerminal
The command to use to set the terminal options.
getTermheight() - method in class jline.ConsoleReader
Query the terminal to find the current width;
getTerminal() - method in class jline.ConsoleReader
getTerminal() - static method in class jline.Terminal
getTerminalHeight() - method in class jline.Terminal
Returns the current height of the terminal (in lines)
getTerminalHeight() - method in class jline.UnixTerminal
Returns the value of "stty size" height param.
Always returng 24, since we can't access this info on Windows.
getTerminalHeight() - method in class jline.WindowsTerminal
Unsupported; return the default.
getTerminalProperty(String) - static method in class jline.UnixTerminal
getTerminalWidth() - method in class jline.Terminal
Returns the current width of the terminal (in characters)
getTerminalWidth() - method in class jline.UnixTerminal
Returns the value of "stty size" width param.
getTerminalWidth() - method in class jline.UnsupportedTerminal
Always returng 80, since we can't access this info on Windows.
getTerminalWidth() - method in class jline.WindowsTerminal
Unsupported; return the default.
getTermwidth() - method in class jline.ConsoleReader
Query the terminal to find the current width;
Returns a root that matches all the String elements of the specified List, or null if there are no commalities.
getUseHistory() - method in class jline.ConsoleReader
Whether or not to add new commands to the history buffer.
getUsePagination() - method in class jline.ConsoleReader
Whether to use pagination when the number of rows of candidates exceeds the height of the temrinal.
gotoxy(int,int) - static method in class jline.ANSIBuffer.ANSICodes
green(String) - method in class jline.ANSIBuffer

H

history - field in class jline.ConsoleReader
history - field in class jline.History
History - class jline.History
A command history buffer.
History() - constructor for class jline.History
Construstor: initialize a blank history.
History(File) - constructor for class jline.History
Construstor: initialize History object the the specified File for storage.
HOME_CODE - static field in class jline.UnixTerminal
HOME_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the home key was pressed.

I

in - field in class jline.ConsoleReader
initializeTerminal() - method in class jline.Terminal
Initialize any system settings that are required for the console to be able to handle input correctly, such as setting tabtop, buffered input, and character echo.
initializeTerminal() - method in class jline.UnixTerminal
Remove line-buffered input by invoking "stty -icanon min 1" against the current terminal.
initializeTerminal() - method in class jline.WindowsTerminal
INSERT - static field in class jline.ConsoleOperations
Operation that toggles insert/overtype
INSERT_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the insert key was pressed.
isANSISupported() - method in class jline.Terminal
Returns true if the current console supports ANSI codes.
isANSISupported() - method in class jline.WindowsTerminal
Windows doesn't support ANSI codes by default; disable them.
isDelimiter(char) - method in class jline.ConsoleReader
Checks to see if the specified character is a delimiter.
Returns true if the specified character is a whitespace parameter.
Returns true if the specified character is a whitespace parameter.
Returns true if the character at the specified position if a delimiter.
The character is a delimiter if it is whitespace, and the preceeding character is not an escape character.
isEchoEnabled() - method in class jline.Terminal
Returns false if character echoing is disabled.
isEchoEnabled() - method in class jline.UnixTerminal
isEchoEnabled() - method in class jline.UnsupportedTerminal
isEchoEnabled() - method in class jline.WindowsTerminal
isOvertyping() - method in class jline.CursorBuffer
isSupported() - method in class jline.Terminal
Returns true if this terminal is capable of initializing the terminal to use jline.
isSupported() - method in class jline.UnixTerminal
isSupported() - method in class jline.UnsupportedTerminal
isSupported() - method in class jline.WindowsTerminal

J

jline - package
The core JLine API.

K

keybindings - field in class jline.ConsoleReader
The map for logical operations.
KEYBOARD_BELL - static field in class jline.ConsoleOperations
KEYMAP_NAMES - static field in class jline.ConsoleReader
Map that contains the operation name to keymay operation mapping.
KILL_LINE - static field in class jline.ConsoleOperations
Operation that deletes the buffer from the current character to the end.
KILL_LINE_PREV - static field in class jline.ConsoleOperations
Operation that deletes the buffer from the cursor to the beginning.
killLine() - method in class jline.ConsoleReader
Kill the buffer ahead of the current cursor position.

L

left(int) - static method in class jline.ANSIBuffer.ANSICodes
Moves the cursor n positions to the left.
LEFT_ARROW_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR, this character indicates an left arrow key press.
length() - method in class jline.CursorBuffer
load(InputStream) - method in class jline.History
Load the history buffer from the specified InputStream.
load(Reader) - method in class jline.History
Load the history buffer from the specified Reader.
loadLibrary(String) - method in class jline.WindowsTerminal
loc - static field in class jline.CandidateListCompletionHandler
loc - static field in class jline.ConsoleReader

M

magenta(String) - method in class jline.ANSIBuffer
main(String[]) - static method in class jline.ANSIBuffer
main(String[]) - static method in class jline.ConsoleRunner
mask - field in class jline.ConsoleReader
The current character mask.
maskThread - field in class jline.UnsupportedTerminal
Match the specified buffer to the array of entries and enter the matches into the list of candidates.
maxSize - field in class jline.History
MOVE_TO_BEG - static field in class jline.ConsoleOperations
Operation that moves to the beginning of the buffer.
MOVE_TO_END - static field in class jline.ConsoleOperations
Operation that moves to the end of the buffer.
moveCursor(int) - method in class jline.ConsoleReader
Move the cursor where characters.
moveHistory(boolean) - method in class jline.ConsoleReader
Move up or down the history tree.
moveInternal(int) - method in class jline.ConsoleReader
Move the cursor where characters, withough checking the current buffer.
moveToEnd() - method in class jline.ConsoleReader
moveToEnd() - method in class jline.History
Move to the end of the history buffer.
moveToFirstEntry() - method in class jline.History
Moves the history index to the first entry.
moveToLastEntry() - method in class jline.History
This moves the history to the last entry.
A completor that contains multiple embedded completors.
MultiCompletor() - constructor for class jline.MultiCompletor
Construct a MultiCompletor with no embedded completors.
Construct a MultiCompletor with the specified Completor instances.
MultiCompletor(List) - constructor for class jline.MultiCompletor
Construct a MultiCompletor with the specified list of Completor instances.

N

NEWLINE - static field in class jline.ConsoleOperations
Operation that issues a newline.
next() - method in class jline.History
Move the pointer to the next element in the buffer.
NEXT_CHAR - static field in class jline.ConsoleOperations
Operation that moves to the next character in the buffer.
NEXT_HISTORY - static field in class jline.ConsoleOperations
Operation that sets the buffer to the next history item.
NEXT_SPACE_WORD - static field in class jline.ConsoleOperations
Operation that
NEXT_WORD - static field in class jline.ConsoleOperations
Operation that moved to the next word.
nextWord() - method in class jline.ConsoleReader
NULL_MASK - static field in class jline.ConsoleReader
The null mask.
A completor that does nothing.
NUMPAD_KEY_INDICATOR - static field in class jline.WindowsTerminal
On windows terminals, this character indicates that a special key on the number pad has been pressed.

O

O_PREFIX - static field in class jline.UnixTerminal
OFF - static field in class jline.ANSIBuffer.ANSICodes
out - field in class jline.ConsoleReader
output - field in class jline.History
overtyping - field in class jline.CursorBuffer

P

Append toPad to the specified appendTo, as well as (toPad.length () - len) spaces.
PAGE_DOWN_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the page down key was pressed.
PAGE_UP_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates that the page up key was pressed.
PASTE - static field in class jline.ConsoleOperations
Operation that pastes the contents of the clipboard into the line
paste() - method in class jline.ConsoleReader
Paste the contents of the clipboard into the console buffer
PASTE_NEXT - static field in class jline.ConsoleOperations
Operation that
PASTE_PREV - static field in class jline.ConsoleOperations
Operation that
plainBuffer - field in class jline.ANSIBuffer
PREV_CHAR - static field in class jline.ConsoleOperations
Operation that moved to the previous character in the buffer.
PREV_HISTORY - static field in class jline.ConsoleOperations
Operation that sets the buffer to the previous history item.
PREV_SPACE_WORD - static field in class jline.ConsoleOperations
Operation that moved to the previous whitespace.
PREV_WORD - static field in class jline.ConsoleOperations
Operation that
previous() - method in class jline.History
Move the pointer to the previous element in the buffer.
previousWord() - method in class jline.ConsoleReader
Print out the candidates.
printCharacter(int) - method in class jline.ConsoleReader
Output the specified character to the output stream without manipulating the current buffer.
printCharacters(char[]) - method in class jline.ConsoleReader
Output the specified characters to the output stream without manipulating the current buffer.
printColumns(Collection) - method in class jline.ConsoleReader
Output the specified Collection in proper columns.
printNewline() - method in class jline.ConsoleReader
Output a platform-dependant newline.
printString(String) - method in class jline.ConsoleReader
Output the specified string to the output stream (but not the buffer).
prompt - field in class jline.ConsoleReader
property - static field in class jline.ConsoleRunner
putChar(int,boolean) - method in class jline.ConsoleReader
Output the specified character, both to the buffer and the output stream.
putString(String) - method in class jline.ConsoleReader
Write out the specified string to the buffer and the output stream.

Q

R

readBinding() - method in class jline.ConsoleReader
Reads the console input and returns an array of the form [raw, key binding].
readByte() - method in class jline.WindowsTerminal
readCharacter(char[]) - method in class jline.ConsoleReader
readCharacter(InputStream) - method in class jline.Terminal
Read a single character from the input stream.
readLine() - method in class jline.ConsoleReader
Read the next line and return the contents of the buffer.
readLine(Character) - method in class jline.ConsoleReader
Read the next line with the specified character mask.
readLine(InputStream) - method in class jline.ConsoleReader
readLine(String) - method in class jline.ConsoleReader
Read a line from the in InputStream, and return the line (without any trailing newlines).
readVirtualKey() - method in class jline.ConsoleReader
Read a character from the console.
readVirtualKey(InputStream) - method in class jline.Terminal
Reads a virtual key from the console.
red(String) - method in class jline.ANSIBuffer
REDISPLAY - static field in class jline.ConsoleOperations
Operation that redisplays the current buffer.
redrawLine() - method in class jline.ConsoleReader
Clear the line and redraw it.
Remove the specified Completor from the list of handlers for tab-completion.
REPEAT_NEXT_CHAR - static field in class jline.ConsoleOperations
Operation that repeats the character.
REPEAT_PREV_CHAR - static field in class jline.ConsoleOperations
Operation that moves to the previous character in the buffer.
REPEAT_SEARCH_NEXT - static field in class jline.ConsoleOperations
Operation that
REPEAT_SEARCH_PREV - static field in class jline.ConsoleOperations
Operation that
replace(int,String) - method in class jline.ConsoleReader
REPLACE_CHAR - static field in class jline.ConsoleOperations
Operation that
REPLACE_MODE - static field in class jline.ConsoleOperations
Operation that
This is awkward and inefficient, but probably the minimal way to add UTF-8 support to JLine
This is awkward and inefficient, but probably the minimal way to add UTF-8 support to JLine
replayReader - field in class jline.UnixTerminal
replayReader - field in class jline.WindowsTerminal
replayStream - field in class jline.UnixTerminal
replayStream - field in class jline.WindowsTerminal
RESET_LINE - static field in class jline.ConsoleOperations
resetLine() - method in class jline.ConsoleReader
Erase the current line.
resetmode(int) - static method in class jline.ANSIBuffer.ANSICodes
Same as setmode () except for mode = 7, which disables line wrapping (useful for writing the right-most column without scrolling to the next line).
resetTerminal() - static method in class jline.Terminal
Reset the current terminal to null.
restore() - static method in class jline.ANSIBuffer.ANSICodes
Restores the saved cursor position.
restoreIn() - static method in class jline.ConsoleReaderInputStream
Restore the original System.in input stream.
restoreTerminal() - method in class jline.UnixTerminal
Restore the original terminal configuration, which can be used when shutting down the console reader.
REVERSE - static field in class jline.ANSIBuffer.ANSICodes
reverse(String) - method in class jline.ANSIBuffer
right(int) - static method in class jline.ANSIBuffer.ANSICodes
Moves the cursor n positions to the right.
RIGHT_ARROW_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an right arrow key press.

S

save() - static method in class jline.ANSIBuffer.ANSICodes
Saves the current cursor position.
SEARCH_NEXT - static field in class jline.ConsoleOperations
Operation that searches forward in the command history.
SEARCH_PREV - static field in class jline.ConsoleOperations
Operation that searches backwards in the command history.
setAnsiEnabled(boolean) - method in class jline.ANSIBuffer
setBellEnabled(boolean) - method in class jline.ConsoleReader
setBuffer(String) - method in class jline.ConsoleReader
Set the current buffer's content to the specified String.
setBuffer(StringBuffer) - method in class jline.CursorBuffer
setConsoleMode(int) - method in class jline.WindowsTerminal
setCursorPosition(int) - method in class jline.ConsoleReader
Move the cursor position to the specified absolute index.
setDebug(PrintWriter) - method in class jline.ConsoleReader
Set the stream for debugging.
setDefaultPrompt(String) - method in class jline.ConsoleReader
The default prompt that will be issued.
setDelimiter(String) - method in class jline.SimpleCompletor
Whether or not to allow the use of the JNI console interaction.
Set the echo character.
setHistoryFile(File) - method in class jline.History
setIn() - static method in class jline.ConsoleReaderInputStream
setInput(InputStream) - method in class jline.ConsoleReader
Set the stream to be used for console input.
setkey(String,String) - static method in class jline.ANSIBuffer.ANSICodes
Sets the key with the given code to the given value.
setMaxSize(int) - method in class jline.History
Set the maximum size that the history buffer will store.
setmode(int) - static method in class jline.ANSIBuffer.ANSICodes
Sets the screen mode.
setOutput(PrintWriter) - method in class jline.History
The output to which all history elements will be written (or null of history is not saved to a buffer).
setOvertyping(boolean) - method in class jline.CursorBuffer
setStrict(boolean) - method in class jline.ArgumentCompletor
If true, a completion at argument index N will only succeed if all the completions from 0-(N-1) also succeed.
setSttyCommand(String) - static method in class jline.UnixTerminal
The command to use to set the terminal options.
setupTerminal() - static method in class jline.Terminal
Configure and return the Terminal instance for the current platform.
setUseHistory(boolean) - method in class jline.ConsoleReader
Whether or not to add new commands to the history buffer.
Whether to use pagination when the number of rows of candidates exceeds the height of the temrinal.
A simple Completor implementation that handles a pre-defined list of completion words.
SimpleCompletor(InputStream) - constructor for class jline.SimpleCompletor
Complete candidates using the whitespearated values in read from the specified Reader.
SimpleCompletor(Reader) - constructor for class jline.SimpleCompletor
Complete candidates using the contents of the specified Reader.
SimpleCompletor(String) - constructor for class jline.SimpleCompletor
Create a new SimpleCompletor with a single possible completion values.
SimpleCompletor(String[]) - constructor for class jline.SimpleCompletor
Create a new SimpleCompletor with a list of possible completion values.
Filter for elements in the completor.
size() - method in class jline.History
sortFileNames(List) - method in class jline.FileNameCompletor
SPECIAL_KEY_INDICATOR - static field in class jline.WindowsTerminal
On windows terminals, this character indicates that a 'special' key has been pressed.
START_OF_HISTORY - static field in class jline.ConsoleOperations
Operation that moves the current History to the beginning.
strict - field in class jline.ArgumentCompletor
stty(String) - static method in class jline.UnixTerminal
Execute the stty command with the specified arguments against the current active terminal.
sttyCommand - static field in class jline.UnixTerminal
SUBSTITUTE_CHAR - static field in class jline.ConsoleOperations
Operation that
SUBSTITUTE_LINE - static field in class jline.ConsoleOperations
Operation that
systemIn - static field in class jline.ConsoleReaderInputStream

T

TAB_WIDTH - static field in class jline.ConsoleReader
term - static field in class jline.Terminal
terminal - field in class jline.ConsoleReader
The Terminal to use.
Terminal - class jline.Terminal
Representation of the input terminal for a platform.
terminfo - field in class jline.UnixTerminal
TO_END_WORD - static field in class jline.ConsoleOperations
Operation that moved to the end of the current word.
TO_NEXT_CHAR - static field in class jline.ConsoleOperations
Operation that
TO_PREV_CHAR - static field in class jline.ConsoleOperations
Operation that
toString() - method in class jline.ANSIBuffer
toString() - method in class jline.CursorBuffer
toString() - method in class jline.History
Returns the standard AbstractCollection.toString representation of the history list.
toString(boolean) - method in class jline.ANSIBuffer
triggeredActions - field in class jline.ConsoleReader
ttyConfig - field in class jline.UnixTerminal

U

UNDERSCORE - static field in class jline.ANSIBuffer.ANSICodes
underscore(String) - method in class jline.ANSIBuffer
UNDO - static field in class jline.ConsoleOperations
Operation that undoes the previous operation.
Terminal that is used for unix platforms.
UnixTerminal() - constructor for class jline.UnixTerminal
UNKNOWN - static field in class jline.ConsoleOperations
Unknown operation.
A no-op unsupported terminal.
up(int) - static method in class jline.ANSIBuffer.ANSICodes
Moves the cursor n rows up without changing the current column.
UP_ARROW_KEY - static field in class jline.WindowsTerminal
When following the SPECIAL_KEY_INDICATOR or NUMPAD_KEY_INDICATOR this character indicates an up arrow key press.
usage() - static method in class jline.ConsoleRunner
useHistory - field in class jline.ConsoleReader
usePagination - field in class jline.ConsoleReader

W

ArgumentCompletor.ArgumentDelimiter implementation that counts all whitespace (as reported by Character.isWhitespace) as being a delimiter.
Terminal implementation for Microsoft Windows.
WindowsTerminal() - constructor for class jline.WindowsTerminal
write(char) - method in class jline.CursorBuffer
Write the specific character into the buffer, setting the cursor position ahead one.
write(String) - method in class jline.CursorBuffer
Insert the specified String into the buffer, setting the cursor to the end of the insertion point.

Y

yellow(String) - method in class jline.ANSIBuffer