Modifier and Type | Class and Description |
---|---|
class |
ArgumentCompletor
A
Completor implementation that invokes a child completor
using the appropriate separator argument. |
class |
ClassNameCompletor
A Completor implementation that completes java class names.
|
class |
FileNameCompletor
A file name completor takes the buffer and issues a list of
potential completions.
|
class |
MultiCompletor
A completor that contains multiple embedded completors.
|
class |
NullCompletor
A completor that does nothing.
|
class |
SimpleCompletor
A simple
Completor implementation that handles a pre-defined
list of completion words. |
Modifier and Type | Method and Description |
---|---|
Completor[] |
MultiCompletor.getCompletors() |
Modifier and Type | Method and Description |
---|---|
boolean |
ConsoleReader.addCompletor(Completor completor)
Add the specified
Completor to the list of handlers for
tab-completion. |
boolean |
ConsoleReader.removeCompletor(Completor completor)
Remove the specified
Completor from the list of handlers for
tab-completion. |
void |
MultiCompletor.setCompletors(Completor[] completors) |
Constructor and Description |
---|
ArgumentCompletor(Completor completor)
Constuctor: create a new completor with the default
argument separator of " ".
|
ArgumentCompletor(Completor[] completors)
Constuctor: create a new completor with the default
argument separator of " ".
|
ArgumentCompletor(Completor[] completors,
ArgumentCompletor.ArgumentDelimiter delim)
Constuctor: create a new completor with the specified
argument delimiter.
|
ArgumentCompletor(Completor completor,
ArgumentCompletor.ArgumentDelimiter delim)
Constuctor: create a new completor with the specified
argument delimiter.
|
MultiCompletor(Completor[] completors)
Construct a MultiCompletor with the specified
Completor instances. |
Copyright © 2002–2020. All rights reserved.