public class ParserUtil extends Object
| Constructor and Description |
|---|
ParserUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static ParsingStateCallbackHandler |
getCallbackHandler(CommandLineParser.CallbackHandler handler) |
static String |
parse(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String str,
CommandLineParser.CallbackHandler handler,
ParsingState initialState)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parseCommandArgs(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parseHeaders(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parseHeaders(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
parseHeadersLine(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
parseLine(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx) |
static StateParser.SubstitutedLine |
parseLine(String commandLine,
CommandLineParser.CallbackHandler handler,
boolean strict,
CommandContext ctx,
boolean disableResolutionException) |
static String |
parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
static StateParser.SubstitutedLine |
parseOperationRequestLine(String commandLine,
CommandLineParser.CallbackHandler handler) |
static StateParser.SubstitutedLine |
parseOperationRequestLine(String commandLine,
CommandLineParser.CallbackHandler handler,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions
performed
|
public static String parse(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatExceptionpublic static String parse(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict) throws CommandFormatException
CommandFormatExceptionpublic static String parse(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx, boolean disableResolutionException) throws CommandFormatException
CommandFormatExceptionpublic static String parseOperationRequest(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatExceptionpublic static String parseOperationRequest(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseOperationRequestLine(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseOperationRequestLine(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static String parseHeaders(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatExceptionpublic static String parseHeaders(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseHeadersLine(String commandLine, CommandLineParser.CallbackHandler handler, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static String parseCommandArgs(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatExceptionpublic static String parse(String str, CommandLineParser.CallbackHandler handler, ParsingState initialState) throws CommandFormatException
CommandFormatExceptionprotected static ParsingStateCallbackHandler getCallbackHandler(CommandLineParser.CallbackHandler handler)
Copyright © 2018 JBoss by Red Hat. All rights reserved.