org.apache.cxf.tools.common.toolspec.parser
Class CommandLineParser
java.lang.Object
org.apache.cxf.tools.common.toolspec.parser.CommandLineParser
public class CommandLineParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLineParser
public CommandLineParser(ToolSpec ts)
setToolSpec
public void setToolSpec(ToolSpec ts)
getArgsFromString
public static String[] getArgsFromString(String s)
parseArguments
public CommandDocument parseArguments(String args)
throws BadUsageException
- Throws:
BadUsageException
parseArguments
public CommandDocument parseArguments(String[] args)
throws BadUsageException
- Throws:
BadUsageException
throwUsage
public void throwUsage(ErrorVisitor errors)
throws BadUsageException
- Throws:
BadUsageException
getUsage
public String getUsage()
throws TransformerException
- Throws:
TransformerException
getDetailedUsage
public String getDetailedUsage()
throws TransformerException
- Throws:
TransformerException
getFormattedDetailedUsage
public String getFormattedDetailedUsage()
throws TransformerException
- Throws:
TransformerException
getDetailedUsage
public String getDetailedUsage(String id)
getToolUsage
public String getToolUsage()
Apache CXF