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 |
parseOperationRequest(String commandLine,
CommandLineParser.CallbackHandler handler)
Returns the string which was actually parsed with all the substitutions performed
|
public static String parse(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatException
public static String parse(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict) throws CommandFormatException
CommandFormatException
public static String parse(String commandLine, CommandLineParser.CallbackHandler handler, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatException
public static String parseOperationRequest(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatException
public static String parseHeaders(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatException
public static String parseCommandArgs(String commandLine, CommandLineParser.CallbackHandler handler) throws CommandFormatException
CommandFormatException
public static String parse(String str, CommandLineParser.CallbackHandler handler, ParsingState initialState) throws CommandFormatException
CommandFormatException
protected static ParsingStateCallbackHandler getCallbackHandler(CommandLineParser.CallbackHandler handler)
Copyright © 2023 JBoss by Red Hat. All rights reserved.