public class CmdLine extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CmdLine.DescriptionType |
| Constructor and Description |
|---|
CmdLine(String line,
String head,
String tail,
List<String> args,
CmdLine.DescriptionType descType)
CmdLine class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getArgs() |
CmdLine.DescriptionType |
getDescriptionType() |
String |
getHead() |
String |
getLine() |
String |
getTail() |
public CmdLine(String line, String head, String tail, List<String> args, CmdLine.DescriptionType descType)
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 descriptionCopyright © 2020. All rights reserved.