public class CommandLineParser
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCommand() |
Gets the translet name.
|
java.util.List<CommandLineRedirection> |
getRedirectionList() |
|
java.io.Writer[] |
getRedirectionWriters(Console console) |
|
MethodType |
getRequestMethod() |
Gets the request method.
|
static CommandLineParser |
parseCommandLine(java.lang.String commandLine) |
Returns the command line parser.
|
static java.lang.String |
serialize(java.util.List<CommandLineRedirection> redirectionList) |
|
static java.lang.String[] |
splitCommandLine(java.lang.String commandLine) |
public MethodType getRequestMethod()
public java.lang.String getCommand()
public java.util.List<CommandLineRedirection> getRedirectionList()
public java.io.Writer[] getRedirectionWriters(Console console) throws java.io.FileNotFoundException, java.io.UnsupportedEncodingException
java.io.FileNotFoundExceptionjava.io.UnsupportedEncodingExceptionpublic static CommandLineParser parseCommandLine(java.lang.String commandLine)
commandLine - the command linepublic static java.lang.String serialize(java.util.List<CommandLineRedirection> redirectionList)
public static java.lang.String[] splitCommandLine(java.lang.String commandLine)
Copyright © 2008–2018 The Aspectran Project. All rights reserved.