| Package | Description |
|---|---|
| org.jline.reader |
JLine 3.
|
| org.jline.reader.impl | |
| org.jline.reader.impl.completer |
JLine 3.
|
| org.jline.reader.impl.history |
JLine 3.
|
| Modifier and Type | Method and Description |
|---|---|
LineReader |
LineReaderBuilder.build() |
LineReader |
LineReader.option(LineReader.Option option,
boolean value) |
LineReader |
LineReader.variable(String name,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
History.attach(LineReader reader)
Initialize the history for the given reader.
|
void |
Completer.complete(LineReader reader,
ParsedLine line,
List<Candidate> candidates)
Populates candidates with a list of possible completions for the command line.
|
AttributedString |
Highlighter.highlight(LineReader reader,
String buffer) |
| Modifier and Type | Class and Description |
|---|---|
class |
LineReaderImpl
A reader for terminal applications.
|
| Modifier and Type | Method and Description |
|---|---|
LineReader |
LineReaderImpl.option(LineReader.Option option,
boolean value) |
LineReader |
LineReaderImpl.variable(String name,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ReaderUtils.getBoolean(LineReader reader,
String name,
boolean def) |
static int |
ReaderUtils.getInt(LineReader reader,
String name,
int def) |
static long |
ReaderUtils.getLong(LineReader reader,
String name,
long def) |
static String |
ReaderUtils.getString(LineReader reader,
String name,
String def) |
AttributedString |
DefaultHighlighter.highlight(LineReader reader,
String buffer) |
static boolean |
ReaderUtils.isSet(LineReader reader,
LineReader.Option option) |
| Modifier and Type | Method and Description |
|---|---|
void |
StringsCompleter.complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates) |
void |
NullCompleter.complete(LineReader reader,
ParsedLine line,
List<Candidate> candidates) |
void |
FileNameCompleter.complete(LineReader reader,
ParsedLine commandLine,
List<Candidate> candidates)
Deprecated.
|
void |
ArgumentCompleter.complete(LineReader reader,
ParsedLine line,
List<Candidate> candidates) |
void |
AggregateCompleter.complete(LineReader reader,
ParsedLine line,
List<Candidate> candidates)
Perform a completion operation across all aggregated completers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHistory.attach(LineReader reader) |
| Constructor and Description |
|---|
DefaultHistory(LineReader reader) |
Copyright © 2020. All rights reserved.