Package org.jline.builtins
Class Completers
- java.lang.Object
-
- org.jline.builtins.Completers
-
public class Completers extends java.lang.ObjectProvides a collection of completion-related classes and utilities for JLine applications.This class contains various completer implementations that can be used to provide tab-completion functionality in command-line applications. These include:
- Command and argument completion
- File and directory name completion
- Tree-based completion
- Regular expression-based completion
- Command option completion
These completers can be combined and configured to provide sophisticated completion behavior for command-line interfaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompleters.AnyCompleterA completer that accepts any input.static classCompleters.CompleterA completer implementation that provides command and argument completion.static classCompleters.CompletionDataHolds data for command completion.static interfaceCompleters.CompletionEnvironmentInterface defining the environment for command completion.static classCompleters.DirectoriesCompleterA completer for directory names.static classCompleters.FileNameCompleterA file name completer takes the buffer and issues a list of potential completions.static classCompleters.FilesCompleterA completer for file names.static classCompleters.OptDescDescribes a command-line option for completion.static classCompleters.OptionCompleterA completer for command options and arguments.static classCompleters.RegexCompleterA completer that uses regular expressions to match command patterns.static classCompleters.TreeCompleterA completer that supports hierarchical command structures.
-
Constructor Summary
Constructors Constructor Description Completers()
-