Package org.jline.console
Class CmdLine
java.lang.Object
org.jline.console.CmdLine
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
line
-
head
-
tail
-
args
-
descType
-
-
Constructor Details
-
CmdLine
public CmdLine(String line, String head, String tail, List<String> args, CmdLine.DescriptionType descType) CmdLine class constructor.- Parameters:
line
- Command linehead
- Command line till cursor, method parameters and opening parenthesis before the cursor are removed.tail
- Command line after cursor, method parameters and closing parenthesis after the cursor are removed.args
- Parsed command line arguments.descType
- Request COMMAND, METHOD or SYNTAX description
-
-
Method Details
-
getLine
-
getHead
-
getTail
-
getArgs
-
getDescriptionType
-