- CandidateListCompletionHandler - Class in jline.console.completer
-
A
CompletionHandler
that deals with multiple distinct completions
by outputting the complete list of possibilities to the console.
- CandidateListCompletionHandler() - Constructor for class jline.console.completer.CandidateListCompletionHandler
-
- CandidateListCompletionHandler.Messages - Enum in jline.console.completer
-
- candidates - Variable in class jline.console.completer.AggregateCompleter.Completion
-
- capitalizeWord() - Method in class jline.console.ConsoleReader
-
- CAPS - Static variable in class jline.internal.InfoCmp
-
- ch - Variable in class jline.internal.NonBlockingInputStream
-
- charSearchChar - Variable in class jline.console.ConsoleReader
-
Last character searched for with a vi character search
- charSearchFirstInvokeChar - Variable in class jline.console.ConsoleReader
-
- charSearchLastInvokeChar - Variable in class jline.console.ConsoleReader
-
- checkNotNull(T) - Static method in class jline.internal.Preconditions
-
- clear() - Method in class jline.console.CursorBuffer
-
- clear() - Method in interface jline.console.history.History
-
- clear() - Method in class jline.console.history.MemoryHistory
-
- clearAhead(int, int) - Method in class jline.console.ConsoleReader
-
Clear ahead the specified number of characters without moving the cursor.
- clearEcho(int) - Method in class jline.console.ConsoleReader
-
Clear the echoed characters for the specified character code.
- clearScreen() - Method in class jline.console.ConsoleReader
-
Clear the screen by issuing the ANSI "clear screen" code.
- close() - Method in class jline.console.ConsoleReader
-
Shuts the console reader down.
- close() - Method in class jline.internal.InputStreamReader
-
Closes this reader.
- close() - Method in class jline.internal.NonBlockingInputStream
-
- close(Closeable...) - Static method in class jline.internal.TerminalLineSettings
-
- code - Variable in enum jline.WindowsTerminal.ConsoleMode
-
- combining - Static variable in class jline.console.WCWidth
-
- commentBegin - Variable in class jline.console.ConsoleReader
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.AggregateCompleter
-
Perform a completion operation across all aggregated completers.
- complete(Completer, String, int) - Method in class jline.console.completer.AggregateCompleter.Completion
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.AnsiStringsCompleter
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.ArgumentCompleter
-
- complete(ConsoleReader, List<CharSequence>, int) - Method in class jline.console.completer.CandidateListCompletionHandler
-
- complete(String, int, List<CharSequence>) - Method in interface jline.console.completer.Completer
-
Populates candidates with a list of possible completions for the buffer.
- complete(ConsoleReader, List<CharSequence>, int) - Method in interface jline.console.completer.CompletionHandler
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.FileNameCompleter
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.NullCompleter
-
- complete(String, int, List<CharSequence>) - Method in class jline.console.completer.StringsCompleter
-
- complete() - Method in class jline.console.ConsoleReader
-
Use the completers to modify the buffer with the appropriate completions.
- Completer - Interface in jline.console.completer
-
A completer is the mechanism by which tab-completion candidates will be resolved.
- completers - Variable in class jline.console.completer.AggregateCompleter
-
- completers - Variable in class jline.console.completer.ArgumentCompleter
-
- completers - Variable in class jline.console.ConsoleReader
-
- Completion(List<CharSequence>) - Constructor for class jline.console.completer.AggregateCompleter.Completion
-
- CompletionHandler - Interface in jline.console.completer
-
Handler for dealing with candidates for tab-completion.
- completionHandler - Variable in class jline.console.ConsoleReader
-
- config - Variable in class jline.internal.TerminalLineSettings
-
- configLastFetched - Variable in class jline.internal.TerminalLineSettings
-
- Configuration - Class in jline.internal
-
Provides access to configuration values.
- Configuration() - Constructor for class jline.internal.Configuration
-
- configure(String) - Static method in class jline.TerminalFactory
-
- configure(TerminalFactory.Type) - Static method in class jline.TerminalFactory
-
- ConsoleEnumeration(ConsoleReader) - Constructor for class jline.console.internal.ConsoleReaderInputStream.ConsoleEnumeration
-
- ConsoleKeys - Class in jline.console
-
- ConsoleKeys(String, URL) - Constructor for class jline.console.ConsoleKeys
-
- consoleKeys - Variable in class jline.console.ConsoleReader
-
- ConsoleLineInputStream(ConsoleReader) - Constructor for class jline.console.internal.ConsoleReaderInputStream.ConsoleLineInputStream
-
- ConsoleMode(int) - Constructor for enum jline.WindowsTerminal.ConsoleMode
-
- ConsoleReader - Class in jline.console
-
A reader for console applications.
- ConsoleReader() - Constructor for class jline.console.ConsoleReader
-
- ConsoleReader(InputStream, OutputStream) - Constructor for class jline.console.ConsoleReader
-
- ConsoleReader(InputStream, OutputStream, Terminal) - Constructor for class jline.console.ConsoleReader
-
- ConsoleReader(String, InputStream, OutputStream, Terminal) - Constructor for class jline.console.ConsoleReader
-
- ConsoleReader(String, InputStream, OutputStream, Terminal, String) - Constructor for class jline.console.ConsoleReader
-
- ConsoleReader.State - Enum in jline.console
-
Possible states in which the current readline operation may be in.
- ConsoleReaderInputStream - Class in jline.console.internal
-
- ConsoleReaderInputStream(ConsoleReader) - Constructor for class jline.console.internal.ConsoleReaderInputStream
-
- ConsoleReaderInputStream.ConsoleEnumeration - Class in jline.console.internal
-
- ConsoleReaderInputStream.ConsoleLineInputStream - Class in jline.console.internal
-
- ConsoleRunner - Class in jline.console.internal
-
A pass-through application that sets the system input stream to a
ConsoleReader
and invokes the specified main method.
- ConsoleRunner() - Constructor for class jline.console.internal.ConsoleRunner
-
- copy() - Method in class jline.console.CursorBuffer
-
- copyPasteDetection - Variable in class jline.console.ConsoleReader
-
Set to true if the reader should attempt to detect copy-n-paste.
- create(String) - Static method in class jline.internal.Urls
-
- create(File) - Static method in class jline.internal.Urls
-
- create() - Static method in class jline.TerminalFactory
-
- create(String) - Static method in class jline.TerminalFactory
-
- CTRL_CB - Static variable in class jline.console.KeyMap
-
- CTRL_D - Static variable in class jline.console.KeyMap
-
- CTRL_G - Static variable in class jline.console.KeyMap
-
- CTRL_H - Static variable in class jline.console.KeyMap
-
- CTRL_I - Static variable in class jline.console.KeyMap
-
- CTRL_J - Static variable in class jline.console.KeyMap
-
- CTRL_M - Static variable in class jline.console.KeyMap
-
- CTRL_OB - Static variable in class jline.console.KeyMap
-
- CTRL_R - Static variable in class jline.console.KeyMap
-
- CTRL_S - Static variable in class jline.console.KeyMap
-
- CTRL_U - Static variable in class jline.console.KeyMap
-
- CTRL_X - Static variable in class jline.console.KeyMap
-
- CTRL_Y - Static variable in class jline.console.KeyMap
-
- current() - Method in class jline.console.CursorBuffer
-
- current() - Method in interface jline.console.history.History
-
- current() - Method in class jline.console.history.MemoryHistory
-
Return the content of the current buffer.
- Curses - Class in jline.internal
-
Curses helper methods.
- Curses() - Constructor for class jline.internal.Curses
-
- cursor - Variable in class jline.console.completer.AggregateCompleter.Completion
-
- cursor - Variable in class jline.console.CursorBuffer
-
- cursorArgumentIndex - Variable in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- CursorBuffer - Class in jline.console
-
A holder for a StringBuilder
that also contains the current cursor position.
- CursorBuffer() - Constructor for class jline.console.CursorBuffer
-
- cursorOk - Variable in class jline.console.ConsoleReader
-
- get(int) - Method in interface jline.console.history.History
-
- get(int) - Method in class jline.console.history.MemoryHistory
-
- get(String) - Method in class jline.internal.TerminalLineSettings
-
- get(String) - Static method in class jline.TerminalFactory
-
- get() - Static method in class jline.TerminalFactory
-
- getAnotherKey() - Method in class jline.console.KeyMap
-
- getAnsiCaps() - Static method in class jline.internal.InfoCmp
-
- getArgumentPosition() - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- getArguments() - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- getAutoprintThreshold() - Method in class jline.console.ConsoleReader
-
- getBellEnabled() - Method in class jline.console.ConsoleReader
-
Get whether the console bell is enabled
- getBoolean(String) - Static method in class jline.internal.Configuration
-
- getBoolean(String, boolean) - Static method in class jline.internal.Configuration
-
- getBooleanCapability(String) - Method in class jline.DefaultTerminal2
-
- getBooleanCapability(String) - Method in interface jline.Terminal2
-
- getBooleanCapability(String) - Method in class jline.UnixTerminal
-
- getBound(CharSequence) - Method in class jline.console.KeyMap
-
- getBracketType(char) - Static method in class jline.console.ConsoleReader
-
Given a character determines what type of bracket it is (paren,
square, curly, or none).
- getBufferPosition() - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- getCommentBegin() - Method in class jline.console.ConsoleReader
-
- getCompleters() - Method in class jline.console.completer.AggregateCompleter
-
Retrieve the collection of completers currently being aggregated.
- getCompleters() - Method in class jline.console.completer.ArgumentCompleter
-
- getCompleters() - Method in class jline.console.ConsoleReader
-
Returns an unmodifiable list of all the completers.
- getCompletionHandler() - Method in class jline.console.ConsoleReader
-
- getConfig() - Method in class jline.internal.TerminalLineSettings
-
- getConsoleMode() - Static method in class jline.WindowsTerminal
-
- getConsoleOutputCodepage() - Static method in class jline.WindowsTerminal
-
- getCursorArgument() - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- getCursorArgumentIndex() - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- getCursorBuffer() - Method in class jline.console.ConsoleReader
-
- getCursorPosition() - Method in class jline.console.ConsoleReader
-
- getDelimiter() - Method in class jline.console.completer.ArgumentCompleter
-
- getDirectConsole() - Method in class jline.WindowsTerminal
-
Whether or not to allow the use of the JNI console interaction.
- getEchoCharacter() - Method in class jline.console.ConsoleReader
-
Returns the echo character.
- getEncoding() - Static method in class jline.internal.Configuration
-
Get the default encoding.
- getEncoding() - Method in class jline.internal.InputStreamReader
-
Returns the name of the encoding used to convert bytes into characters.
- getEscapeChars() - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- getExpandEvents() - Method in class jline.console.ConsoleReader
-
- getFile() - Method in class jline.console.history.FileHistory
-
- getFileEncoding() - Static method in class jline.internal.Configuration
-
- getFlavor(TerminalFactory.Flavor) - Static method in class jline.TerminalFactory
-
- getFlavor(TerminalFactory.Flavor, String) - Static method in class jline.TerminalFactory
-
- getHandleLitteralNext() - Method in class jline.console.ConsoleReader
-
Get wether literal next are handled by JLine.
- getHandleUserInterrupt() - Method in class jline.console.ConsoleReader
-
Get whether user interrupt handling is enabled
- getHeight() - Method in class jline.DefaultTerminal2
-
- getHeight() - Method in interface jline.Terminal
-
- getHeight() - Method in class jline.TerminalSupport
-
- getHeight() - Method in class jline.UnixTerminal
-
Returns the value of stty rows>/tt> param.
- getHeight() - Method in class jline.WindowsTerminal
-
- getHistory() - Method in class jline.console.ConsoleReader
-
- getInfoCmp(String) - Static method in class jline.internal.InfoCmp
-
- getInput() - Method in class jline.console.ConsoleReader
-
- getInputRc() - Static method in class jline.console.ConsoleReader
-
Retrieve the URL for the inputrc configuration file in effect.
- getInteger(String, int) - Static method in class jline.internal.Configuration
-
- getKeyFromName(String) - Static method in class jline.console.ConsoleKeys
-
- getKeyMap() - Method in class jline.console.ConsoleReader
-
Returns the name of the current key mapping.
- getKeyMaps() - Method in class jline.console.ConsoleKeys
-
- getKeys() - Method in class jline.console.ConsoleKeys
-
- getKeys() - Method in class jline.console.ConsoleReader
-
- getLastBinding() - Method in class jline.console.ConsoleReader
-
- getLineSeparator() - Static method in class jline.internal.Configuration
-
- getLong(String, long) - Static method in class jline.internal.Configuration
-
- getMaxSize() - Method in class jline.console.history.MemoryHistory
-
- getName() - Method in class jline.console.KeyMap
-
- getNames(String) - Static method in class jline.internal.InfoCmp
-
- getNumericCapability(String) - Method in class jline.DefaultTerminal2
-
- getNumericCapability(String) - Method in interface jline.Terminal2
-
- getNumericCapability(String) - Method in class jline.UnixTerminal
-
- getOsName() - Static method in class jline.internal.Configuration
-
- getOutput() - Method in class jline.console.ConsoleReader
-
- getOutput() - Static method in class jline.internal.Log
-
- getOutputEncoding() - Method in class jline.DefaultTerminal2
-
- getOutputEncoding() - Method in interface jline.Terminal
-
- getOutputEncoding() - Method in class jline.TerminalSupport
-
- getOutputEncoding() - Method in class jline.WindowsTerminal
-
- getPartialLine() - Method in exception jline.console.UserInterruptException
-
- getPrintSpaceAfterFullCompletion() - Method in class jline.console.completer.CandidateListCompletionHandler
-
- getPrompt() - Method in class jline.console.ConsoleReader
-
- getProperties() - Static method in class jline.internal.Configuration
-
- getProperty(String) - Method in class jline.internal.TerminalLineSettings
-
Get the value of a stty property, including the management of a cache.
- getProperty(String, String) - Static method in class jline.internal.TerminalLineSettings
-
- getPropertyAsString(String) - Method in class jline.internal.TerminalLineSettings
-
- getPropertyAsString(String, String) - Static method in class jline.internal.TerminalLineSettings
-
Parses a stty output (provided by stty -a) and return the value of a given property.
- getQuoteChars() - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- getSettings(String) - Static method in class jline.internal.TerminalLineSettings
-
- getSettings() - Method in class jline.UnixTerminal
-
- getString(String, String) - Static method in class jline.internal.Configuration
-
- getString(String) - Static method in class jline.internal.Configuration
-
- getStringCapability(String) - Method in class jline.DefaultTerminal2
-
- getStringCapability(String) - Method in interface jline.Terminal2
-
- getStringCapability(String) - Method in class jline.UnixTerminal
-
- getStrings() - Method in class jline.console.completer.AnsiStringsCompleter
-
- getStrings() - Method in class jline.console.completer.StringsCompleter
-
- getTerminal() - Method in class jline.console.ConsoleReader
-
- getTtyDevice() - Method in class jline.internal.TerminalLineSettings
-
- getUnambiguousCompletions(List<CharSequence>) - Method in class jline.console.completer.CandidateListCompletionHandler
-
Returns a root that matches all the String
elements of the specified List
,
or null if there are no commonalities.
- getUserDir() - Method in class jline.console.completer.FileNameCompleter
-
- getUserHome() - Method in class jline.console.completer.FileNameCompleter
-
- getUserHome() - Static method in class jline.internal.Configuration
-
- getVariable(String) - Method in class jline.console.ConsoleKeys
-
Retrieves the value of a variable that was set in the .inputrc file
during processing
- getWidth() - Method in class jline.DefaultTerminal2
-
- getWidth() - Method in interface jline.Terminal
-
- getWidth() - Method in class jline.TerminalSupport
-
- getWidth() - Method in class jline.UnixTerminal
-
Returns the value of stty columns param.
- getWidth() - Method in class jline.WindowsTerminal
-
- getWindowsTerminalHeight() - Static method in class jline.WindowsTerminal
-
- getWindowsTerminalWidth() - Static method in class jline.WindowsTerminal
-
- IFTE_ELSE - Static variable in class jline.internal.Curses
-
- IFTE_IF - Static variable in class jline.internal.Curses
-
- IFTE_NONE - Static variable in class jline.internal.Curses
-
- IFTE_THEN - Static variable in class jline.internal.Curses
-
- ignoreDuplicates - Variable in class jline.console.history.MemoryHistory
-
- in - Variable in class jline.console.ConsoleReader
-
- in - Variable in class jline.internal.InputStreamReader
-
- in - Variable in class jline.internal.NonBlockingInputStream
-
- index() - Method in interface jline.console.history.History.Entry
-
- index() - Method in interface jline.console.history.History
-
- index - Variable in class jline.console.history.MemoryHistory.EntryImpl
-
- index() - Method in class jline.console.history.MemoryHistory.EntryImpl
-
- index - Variable in class jline.console.history.MemoryHistory
-
- index() - Method in class jline.console.history.MemoryHistory
-
- index - Variable in class jline.console.internal.ConsoleReaderInputStream.ConsoleLineInputStream
-
- info(Object...) - Static method in class jline.internal.Log
-
- InfoCmp - Class in jline.internal
-
Infocmp helper methods.
- InfoCmp() - Constructor for class jline.internal.InfoCmp
-
- inheritInput(ProcessBuilder) - Static method in class jline.internal.TerminalLineSettings
-
- init() - Method in class jline.DefaultTerminal2
-
- init() - Method in class jline.NoInterruptUnixTerminal
-
- init() - Method in class jline.OSvTerminal
-
- init() - Method in interface jline.Terminal
-
- init() - Method in class jline.TerminalSupport
-
- init() - Method in class jline.UnixTerminal
-
Remove line-buffered input by invoking "stty -icanon min 1"
against the current terminal.
- init() - Method in class jline.WindowsTerminal
-
- initialConfig - Variable in class jline.internal.TerminalLineSettings
-
- initProperties() - Static method in class jline.internal.Configuration
-
- INPUT_RC - Static variable in class jline.console.ConsoleReader
-
- inputrcUrl - Variable in class jline.console.ConsoleReader
-
- InputStreamReader - Class in jline.internal
-
A class for turning a byte stream into a character stream.
- InputStreamReader(InputStream) - Constructor for class jline.internal.InputStreamReader
-
Constructs a new InputStreamReader
on the InputStream
in
.
- InputStreamReader(InputStream, String) - Constructor for class jline.internal.InputStreamReader
-
Constructs a new InputStreamReader on the InputStream in
.
- InputStreamReader(InputStream, CharsetDecoder) - Constructor for class jline.internal.InputStreamReader
-
Constructs a new InputStreamReader on the InputStream in
and
CharsetDecoder dec
.
- InputStreamReader(InputStream, Charset) - Constructor for class jline.internal.InputStreamReader
-
Constructs a new InputStreamReader on the InputStream in
and
Charset charset
.
- insertClose(String) - Method in class jline.console.ConsoleReader
-
- insertComment(boolean) - Method in class jline.console.ConsoleReader
-
- INSTANCE - Static variable in class jline.console.completer.NullCompleter
-
- internalAdd(CharSequence) - Method in class jline.console.history.MemoryHistory
-
- Interval(int, int) - Constructor for class jline.console.WCWidth.Interval
-
- intr - Variable in class jline.NoInterruptUnixTerminal
-
- intr - Variable in class jline.UnixTerminal
-
- ints - Variable in class jline.UnixTerminal
-
- isAnsiSupported() - Method in class jline.AnsiWindowsTerminal
-
- isAnsiSupported() - Method in class jline.DefaultTerminal2
-
- isAnsiSupported() - Method in interface jline.Terminal
-
- isAnsiSupported() - Method in class jline.TerminalSupport
-
- isAutoTrim() - Method in class jline.console.history.MemoryHistory
-
- isCopyPasteDetectionEnabled() - Method in class jline.console.ConsoleReader
-
- isDelimiter(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
Returns true if the specified character is a whitespace parameter.
- isDelimiter(CharSequence, int) - Method in interface jline.console.completer.ArgumentCompleter.ArgumentDelimiter
-
Returns true if the specified character is a whitespace parameter.
- isDelimiter(char) - Static method in class jline.console.ConsoleReader
-
Checks to see if the specified character is a delimiter.
- isDelimiterChar(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
Returns true if the character at the specified position if a delimiter.
- isDelimiterChar(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.WhitespaceArgumentDelimiter
-
The character is a delimiter if it is whitespace, and the
preceding character is not an escape character.
- isEchoEnabled() - Method in class jline.DefaultTerminal2
-
- isEchoEnabled() - Method in interface jline.Terminal
-
- isEchoEnabled() - Method in class jline.TerminalSupport
-
- isEmpty() - Method in interface jline.console.history.History
-
- isEmpty() - Method in class jline.console.history.MemoryHistory
-
- isEscapeChar(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
Check if this character is a valid escape char (i.e.
- isEscaped(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
Check if a character is escaped (i.e.
- isHistoryEnabled() - Method in class jline.console.ConsoleReader
-
Whether or not to add new commands to the history buffer.
- isHpux() - Static method in class jline.internal.Configuration
-
- isIgnoreDuplicates() - Method in class jline.console.history.MemoryHistory
-
- isInViMoveOperationState() - Method in class jline.console.ConsoleReader
-
- isKeyMap(String) - Method in class jline.console.ConsoleReader
-
- isMeta(char) - Static method in class jline.console.KeyMap
-
- isNonBlockingEnabled() - Method in class jline.internal.NonBlockingInputStream
-
Non-blocking is considered enabled if the feature is enabled and the
I/O thread has not been shut down.
- isOpen() - Method in class jline.internal.InputStreamReader
-
- isOverTyping() - Method in class jline.console.CursorBuffer
-
- isPaginationEnabled() - Method in class jline.console.ConsoleReader
-
Whether to use pagination when the number of rows of candidates exceeds the height of the terminal.
- isQuoteChar(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- isQuoted(CharSequence, int) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- isShutdown - Variable in class jline.internal.NonBlockingInputStream
-
- isStrict() - Method in class jline.console.completer.ArgumentCompleter
-
Returns whether a completion at argument index N will success
if all the completions from arguments 0-(N-1) also succeed.
- isStripAnsi() - Method in class jline.console.completer.CandidateListCompletionHandler
-
- isSupported() - Method in class jline.DefaultTerminal2
-
- isSupported() - Method in interface jline.Terminal
-
- isSupported() - Method in class jline.TerminalSupport
-
- isSystemIn(InputStream) - Method in class jline.WindowsTerminal
-
- isWhitespace(char) - Static method in class jline.console.ConsoleReader
-
Checks to see if a character is a whitespace character.
- isWindows() - Static method in class jline.internal.Configuration
-
- items - Variable in class jline.console.history.MemoryHistory
-
- iterator() - Method in interface jline.console.history.History
-
- iterator() - Method in class jline.console.history.MemoryHistory
-
- rawPrint(int) - Method in class jline.console.ConsoleReader
-
Raw output printing
- rawPrint(String) - Method in class jline.console.ConsoleReader
-
- rawPrint(char, int) - Method in class jline.console.ConsoleReader
-
- rawPrintln(String) - Method in class jline.console.ConsoleReader
-
- read() - Method in class jline.console.internal.ConsoleReaderInputStream.ConsoleLineInputStream
-
- read() - Method in class jline.internal.InputStreamReader
-
Reads a single character from this reader and returns it as an integer
with the two higher-order bytes set to 0.
- read(char[], int, int) - Method in class jline.internal.InputStreamReader
-
Reads at most length
characters from this reader and stores them
at position offset
in the character array buf
.
- read() - Method in class jline.internal.NonBlockingInputStream
-
- read(long) - Method in class jline.internal.NonBlockingInputStream
-
Attempts to read a character from the input stream for a specific
period of time.
- read(long, boolean) - Method in class jline.internal.NonBlockingInputStream
-
Attempts to read a character from the input stream for a specific
period of time.
- read(byte[], int, int) - Method in class jline.internal.NonBlockingInputStream
-
This version of read() is very specific to jline's purposes, it
will always always return a single byte at a time, rather than filling
the entire buffer.
- READ_EXPIRED - Static variable in class jline.console.ConsoleReader
-
- readBinding(KeyMap) - Method in class jline.console.ConsoleReader
-
Read from the input stream and decode an operation from the key map.
- readCharacter() - Method in class jline.console.ConsoleReader
-
Read a character from the console.
- readCharacter(boolean) - Method in class jline.console.ConsoleReader
-
Read a character from the console.
- readCharacter(char...) - Method in class jline.console.ConsoleReader
-
- readCharacter(boolean, char...) - Method in class jline.console.ConsoleReader
-
- readConsoleInput() - Method in class jline.WindowsTerminal
-
- reader - Variable in class jline.console.ConsoleReader
-
- reader - Variable in class jline.console.internal.ConsoleReaderInputStream.ConsoleEnumeration
-
- reader - Variable in class jline.console.internal.ConsoleReaderInputStream.ConsoleLineInputStream
-
- readLine() - Method in class jline.console.ConsoleReader
-
Read the next line and return the contents of the buffer.
- readLine(Character) - Method in class jline.console.ConsoleReader
-
Read the next line with the specified character mask.
- readLine(String) - Method in class jline.console.ConsoleReader
-
- readLine(String, Character) - Method in class jline.console.ConsoleReader
-
Read a line from the in InputStream
, and return the line
(without any trailing newlines).
- readLine(String, Character, String) - Method in class jline.console.ConsoleReader
-
Read a line from the in InputStream
, and return the line
(without any trailing newlines).
- readLineSimple() - Method in class jline.console.ConsoleReader
-
Read a line for unsupported terminals.
- ready() - Method in class jline.internal.InputStreamReader
-
Indicates whether this reader is ready to be read without blocking.
- recording - Variable in class jline.console.ConsoleReader
-
- REDIRECT_INHERIT - Static variable in class jline.internal.TerminalLineSettings
-
- REDIRECT_INPUT_METHOD - Static variable in class jline.internal.TerminalLineSettings
-
- redrawLine() - Method in class jline.console.ConsoleReader
-
Clear the line and redraw it.
- registerCap(String, String) - Method in class jline.DefaultTerminal2
-
- registerCap(String) - Method in class jline.DefaultTerminal2
-
- registerFlavor(TerminalFactory.Flavor, Class<? extends Terminal>) - Static method in class jline.TerminalFactory
-
- remove(int) - Method in interface jline.console.history.History
-
Remove the history element at the given index.
- remove() - Method in class jline.console.history.MemoryHistory.EntriesIterator
-
- remove(int) - Method in class jline.console.history.MemoryHistory
-
- remove(ShutdownHooks.Task) - Static method in class jline.internal.ShutdownHooks
-
- removeCompleter(Completer) - Method in class jline.console.ConsoleReader
-
Remove the specified
Completer
from the list of handlers for tab-completion.
- removeFirst() - Method in interface jline.console.history.History
-
Remove the first element from history.
- removeFirst() - Method in class jline.console.history.MemoryHistory
-
- removeHook(Thread) - Static method in class jline.internal.ShutdownHooks
-
- removeLast() - Method in interface jline.console.history.History
-
Remove the last element from history
- removeLast() - Method in class jline.console.history.MemoryHistory
-
- render(File, CharSequence) - Method in class jline.console.completer.FileNameCompleter
-
- render(PrintStream, Object) - Static method in class jline.internal.Log
-
Helper to support rendering messages.
- replace(CharSequence) - Method in interface jline.console.history.History
-
- replace(CharSequence) - Method in class jline.console.history.MemoryHistory
-
- reset() - Method in class jline.DefaultTerminal2
-
- reset() - Static method in class jline.internal.Configuration
-
- reset() - Method in interface jline.Terminal
-
- reset() - Static method in class jline.TerminalFactory
-
- reset() - Method in class jline.TerminalSupport
-
- RESET_LINE - Static variable in class jline.console.ConsoleReader
-
- resetIf(Terminal) - Static method in class jline.TerminalFactory
-
- resetLastKill() - Method in class jline.console.KillRing
-
Resets the last-kill state.
- resetLastYank() - Method in class jline.console.KillRing
-
Resets the last-yank state.
- resetLine() - Method in class jline.console.ConsoleReader
-
Erase the current line.
- resetPromptLine(String, String, int) - Method in class jline.console.ConsoleReader
-
Erases the current line with the existing prompt, then redraws the line
with the provided prompt and buffer
- resources - Static variable in class jline.console.ConsoleReader
-
- restore() - Method in class jline.DefaultTerminal2
-
- restore() - Method in class jline.internal.TerminalLineSettings
-
- restore() - Method in class jline.NoInterruptUnixTerminal
-
- restore() - Method in class jline.OSvTerminal
-
- restore() - Method in interface jline.Terminal
-
- restore() - Method in class jline.TerminalSupport
-
- restore() - Method in class jline.UnixTerminal
-
Restore the original terminal configuration, which can be used when
shutting down the console reader.
- restore() - Method in class jline.WindowsTerminal
-
Restore the original terminal configuration, which can be used when
shutting down the console reader.
- restoreIn() - Static method in class jline.console.internal.ConsoleReaderInputStream
-
Restore the original System.in
input stream.
- restoreLine(String, int) - Method in class jline.console.ConsoleReader
-
- run() - Method in class jline.internal.NonBlockingInputStream
-
- run() - Method in interface jline.internal.ShutdownHooks.Task
-
- runTasks() - Static method in class jline.internal.ShutdownHooks
-
- searchBackwards(String, int) - Method in class jline.console.ConsoleReader
-
Search backward in history from a given position.
- searchBackwards(String) - Method in class jline.console.ConsoleReader
-
Search backwards in history from the current position.
- searchBackwards(String, int, boolean) - Method in class jline.console.ConsoleReader
-
- searchForwards(String, int) - Method in class jline.console.ConsoleReader
-
Search forward in history from a given position.
- searchForwards(String) - Method in class jline.console.ConsoleReader
-
Search forwards in history from the current position.
- searchForwards(String, int, boolean) - Method in class jline.console.ConsoleReader
-
- searchIndex - Variable in class jline.console.ConsoleReader
-
- searchTerm - Variable in class jline.console.ConsoleReader
-
- separator() - Method in class jline.console.completer.FileNameCompleter
-
- serialVersionUID - Static variable in exception jline.console.UserInterruptException
-
- set(int, CharSequence) - Method in interface jline.console.history.History
-
Set the history item at the given index to the given CharSequence.
- set(History.Entry) - Method in class jline.console.history.MemoryHistory.EntriesIterator
-
- set(int, CharSequence) - Method in class jline.console.history.MemoryHistory
-
- set(String) - Method in class jline.internal.TerminalLineSettings
-
- set(String...) - Method in class jline.internal.TerminalLineSettings
-
- setAnsiSupported(boolean) - Method in class jline.TerminalSupport
-
- setArgumentPosition(int) - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- setArguments(String[]) - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- setAutoprintThreshold(int) - Method in class jline.console.ConsoleReader
-
- setAutoTrim(boolean) - Method in class jline.console.history.MemoryHistory
-
- setBellEnabled(boolean) - Method in class jline.console.ConsoleReader
-
Set whether the console bell is enabled.
- setBlinkMatchingParen(boolean) - Method in class jline.console.KeyMap
-
- setBuffer(ConsoleReader, CharSequence, int) - Static method in class jline.console.completer.CandidateListCompletionHandler
-
- setBuffer(String) - Method in class jline.console.ConsoleReader
-
Set the current buffer's content to the specified String
.
- setBuffer(CharSequence) - Method in class jline.console.ConsoleReader
-
- setBufferKeepPos(String) - Method in class jline.console.ConsoleReader
-
- setBufferKeepPos(CharSequence) - Method in class jline.console.ConsoleReader
-
- setBufferPosition(int) - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- setCommentBegin(String) - Method in class jline.console.ConsoleReader
-
Sets the string that will be used to start a comment when the
insert-comment key is struck.
- setCompletionHandler(CompletionHandler) - Method in class jline.console.ConsoleReader
-
- setConsoleMode(int) - Static method in class jline.WindowsTerminal
-
- setCopyPasteDetection(boolean) - Method in class jline.console.ConsoleReader
-
Enables or disables copy and paste detection.
- setCursorArgumentIndex(int) - Method in class jline.console.completer.ArgumentCompleter.ArgumentList
-
- setCursorPosition(int) - Method in class jline.console.ConsoleReader
-
Move the cursor position to the specified absolute index.
- setDirectConsole(boolean) - Method in class jline.WindowsTerminal
-
Whether or not to allow the use of the JNI console interaction.
- setEchoCharacter(Character) - Method in class jline.console.ConsoleReader
-
Set the echo character.
- setEchoEnabled(boolean) - Method in class jline.DefaultTerminal2
-
- setEchoEnabled(boolean) - Method in interface jline.Terminal
-
- setEchoEnabled(boolean) - Method in class jline.TerminalSupport
-
- setEchoEnabled(boolean) - Method in class jline.UnixTerminal
-
- setEchoEnabled(boolean) - Method in class jline.WindowsTerminal
-
- setEscapeChars(char[]) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- setExpandEvents(boolean) - Method in class jline.console.ConsoleReader
-
- setHandleLitteralNext(boolean) - Method in class jline.console.ConsoleReader
-
Set wether literal next are handled by JLine.
- setHandleUserInterrupt(boolean) - Method in class jline.console.ConsoleReader
-
- setHistory(History) - Method in class jline.console.ConsoleReader
-
- setHistoryEnabled(boolean) - Method in class jline.console.ConsoleReader
-
Whether or not to add new commands to the history buffer.
- setIgnoreDuplicates(boolean) - Method in class jline.console.history.MemoryHistory
-
- setIn() - Static method in class jline.console.internal.ConsoleReaderInputStream
-
- setIn(ConsoleReader) - Static method in class jline.console.internal.ConsoleReaderInputStream
-
- setInput(InputStream) - Method in class jline.console.ConsoleReader
-
- setKeyMap(String) - Method in class jline.console.ConsoleKeys
-
- setKeyMap(String) - Method in class jline.console.ConsoleReader
-
Sets the current keymap by name.
- setKeys(KeyMap) - Method in class jline.console.ConsoleKeys
-
- setMaxSize(int) - Method in class jline.console.history.MemoryHistory
-
- setOutput(PrintStream) - Static method in class jline.internal.Log
-
- setOverTyping(boolean) - Method in class jline.console.CursorBuffer
-
- setPaginationEnabled(boolean) - Method in class jline.console.ConsoleReader
-
Whether to use pagination when the number of rows of candidates exceeds the height of the terminal.
- setParenBlinkTimeout(int) - Method in class jline.console.ConsoleReader
-
- setPrintSpaceAfterFullCompletion(boolean) - Method in class jline.console.completer.CandidateListCompletionHandler
-
- setPrompt(String) - Method in class jline.console.ConsoleReader
-
- setQuoteChars(char[]) - Method in class jline.console.completer.ArgumentCompleter.AbstractArgumentDelimiter
-
- setStrict(boolean) - Method in class jline.console.completer.ArgumentCompleter
-
If true, a completion at argument index N will only succeed
if all the completions from 0-(N-1) also succeed.
- setStripAnsi(boolean) - Method in class jline.console.completer.CandidateListCompletionHandler
-
- SETTINGS - Static variable in class jline.internal.TerminalLineSettings
-
- settings - Variable in class jline.UnixTerminal
-
- setupSigCont() - Method in class jline.console.ConsoleReader
-
- setVar(String, String) - Method in class jline.console.ConsoleKeys
-
- shCommand - Variable in class jline.internal.TerminalLineSettings
-
- shutdown() - Method in class jline.console.ConsoleReader
-
- shutdown() - Method in class jline.internal.NonBlockingInputStream
-
Shuts down the thread that is handling blocking I/O.
- ShutdownHooks - Class in jline.internal
-
Manages the JLine shutdown-hook thread and tasks to execute on shutdown.
- ShutdownHooks() - Constructor for class jline.internal.ShutdownHooks
-
- ShutdownHooks.Task - Interface in jline.internal
-
Essentially a Runnable
which allows running to throw an exception.
- shutdownTask - Variable in class jline.TerminalSupport
-
- size() - Method in interface jline.console.history.History
-
- size() - Method in class jline.console.history.MemoryHistory
-
- skipLF - Variable in class jline.console.ConsoleReader
-
- slots - Variable in class jline.console.KillRing
-
- source - Variable in class jline.console.history.MemoryHistory.EntriesIterator
-
- startsWith(String, String[]) - Static method in class jline.console.completer.CandidateListCompletionHandler
-
- state - Variable in class jline.console.ConsoleReader
-
- State() - Constructor for enum jline.console.ConsoleReader.State
-
- strict - Variable in class jline.console.completer.ArgumentCompleter
-
- strings - Variable in class jline.console.completer.AnsiStringsCompleter
-
- strings - Variable in class jline.console.completer.StringsCompleter
-
- strings - Variable in class jline.DefaultTerminal2
-
- strings - Variable in class jline.UnixTerminal
-
- StringsCompleter - Class in jline.console.completer
-
Completer for a set of strings.
- StringsCompleter() - Constructor for class jline.console.completer.StringsCompleter
-
- StringsCompleter(Collection<String>) - Constructor for class jline.console.completer.StringsCompleter
-
- StringsCompleter(String...) - Constructor for class jline.console.completer.StringsCompleter
-
- stripAnsi - Variable in class jline.console.completer.CandidateListCompletionHandler
-
- stripAnsi(String) - Static method in class jline.internal.Ansi
-
- stty(String...) - Method in class jline.internal.TerminalLineSettings
-
- stty - Variable in class jline.OSvTerminal
-
- sttyClass - Variable in class jline.OSvTerminal
-
- sttyCommand - Variable in class jline.internal.TerminalLineSettings
-
- supported - Variable in class jline.TerminalSupport
-
- SUPPORTS_REDIRECT - Static variable in class jline.internal.TerminalLineSettings
-
- sv - Static variable in class jline.internal.Curses
-
- switchCase(char) - Static method in class jline.console.ConsoleReader
-
- systemIn - Static variable in class jline.console.internal.ConsoleReaderInputStream
-
- value() - Method in interface jline.console.history.History.Entry
-
- value - Variable in class jline.console.history.MemoryHistory.EntryImpl
-
- value() - Method in class jline.console.history.MemoryHistory.EntryImpl
-
- valueOf(String) - Static method in enum jline.console.completer.CandidateListCompletionHandler.Messages
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.console.ConsoleReader.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.console.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.internal.Log.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.TerminalFactory.Flavor
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.TerminalFactory.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jline.WindowsTerminal.ConsoleMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jline.console.completer.CandidateListCompletionHandler.Messages
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.console.ConsoleReader.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.console.Operation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.internal.Log.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.TerminalFactory.Flavor
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.TerminalFactory.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum jline.WindowsTerminal.ConsoleMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- variables - Variable in class jline.console.ConsoleKeys
-
- VI_INSERT - Static variable in class jline.console.KeyMap
-
- VI_MOVE - Static variable in class jline.console.KeyMap
-
- viChangeCase(int) - Method in class jline.console.ConsoleReader
-
Switches the case of the current character from upper to lower
or lower to upper as necessary and advances the cursor one
position to the right.
- viChangeChar(int, int) - Method in class jline.console.ConsoleReader
-
Implements the vi change character command (in move-mode "r"
followed by the character to change to).
- viCharSearch(int, int, int) - Method in class jline.console.ConsoleReader
-
Searches forward of the current position for a character and moves
the cursor onto it.
- viDelete(int) - Method in class jline.console.ConsoleReader
-
Deletes the character you are sitting on and sucks the rest of
the line in from the right.
- viDeleteChangeYankToRemap(Operation) - Method in class jline.console.ConsoleReader
-
This method is calling while doing a delete-to ("d"), change-to ("c"),
or yank-to ("y") and it filters out only those movement operations
that are allowable during those operations.
- viDeleteTo(int, int, boolean) - Method in class jline.console.ConsoleReader
-
Performs the vi "delete-to" action, deleting characters between a given
span of the input line.
- viEndWord(int) - Method in class jline.console.ConsoleReader
-
Implements a close facsimile of the vi end-of-word movement.
- viInsertion() - Static method in class jline.console.KeyMap
-
- viMatch() - Method in class jline.console.ConsoleReader
-
Implements vi style bracket matching ("%" command).
- viMovement() - Static method in class jline.console.KeyMap
-
- viNextWord(int) - Method in class jline.console.ConsoleReader
-
This is a close facsimile of the actual vi next word logic.
- viPreviousWord(int) - Method in class jline.console.ConsoleReader
-
This is a close facsimile of the actual vi previous word logic.
- viPut(int) - Method in class jline.console.ConsoleReader
-
Pasts the yank buffer to the right of the current cursor position
and moves the cursor to the end of the pasted region.
- viRubout(int) - Method in class jline.console.ConsoleReader
-
Deletes the previous character from the cursor position
- viSearch(char) - Method in class jline.console.ConsoleReader
-
Implements vi search ("/" or "?").
- viYankTo(int, int) - Method in class jline.console.ConsoleReader
-
Implement the "vi" yank-to operation.