- java.lang.Object
-
- org.jline.console.CmdLine
-
public class CmdLine extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCmdLine.DescriptionType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getArgs()CmdLine.DescriptionTypegetDescriptionType()StringgetHead()StringgetLine()StringgetTail()
-
-
-
Constructor Detail
-
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
-
-