org.nuxeo.ecm.shell.header
Class CommandPattern
java.lang.Object
org.nuxeo.ecm.shell.header.CommandPattern
public class CommandPattern
- extends Object
Ex:
cp [--recurse|-r] [--depth|-d:int?1] [--version|-v] file [doc]
- Author:
- Bogdan Stefanescu
names
public String[] names
options
public final List<CommandOption> options
args
public final List<CommandArgument> args
CommandPattern
public CommandPattern()
toString
public String toString()
- Overrides:
toString
in class Object
parsePattern
public static CommandPattern parsePattern(String input)
throws ParseException
- Throws:
ParseException
collectUntil
public static int collectUntil(char sep,
StringBuilder buf,
String input,
int offset)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.