org.apache.commons.cli
class Util extends Object
Method Summary | |
---|---|
static String | stripLeadingAndTrailingQuotes(String str)
Remove the leading and trailing quotes from str .
|
static String | stripLeadingHyphens(String str) Remove the hyphens from the begining of |
str
.
E.g. if str is '"one two"', then 'one two' is returned.
Parameters: str The string from which the leading and trailing quotes should be removed.
Returns: The string without the leading and trailing quotes.
Remove the hyphens from the begining of str
and
return the new String.
Parameters: str The string from which the hyphens should be removed.
Returns: the new String.