Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.shell.header
Class CommandPattern

java.lang.Object
  extended by 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

Field Summary
 List<CommandArgument> args
           
 String[] names
           
 List<CommandOption> options
           
 
Constructor Summary
CommandPattern()
           
 
Method Summary
static int collectUntil(char sep, StringBuilder buf, String input, int offset)
           
static void main(String[] args)
           
static CommandPattern parsePattern(String input)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

names

public String[] names

options

public final List<CommandOption> options

args

public final List<CommandArgument> args
Constructor Detail

CommandPattern

public CommandPattern()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.