final class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
stripLeadingAndTrailingQuotes(java.lang.String str)
Remove the leading and trailing quotes from
str . |
(package private) static java.lang.String |
stripLeadingHyphens(java.lang.String str)
Remove the hyphens from the beginning of
str and
return the new String. |
static java.lang.String stripLeadingHyphens(java.lang.String str)
str
and
return the new String.str
- The string from which the hyphens should be removed.static java.lang.String stripLeadingAndTrailingQuotes(java.lang.String str)
str
.
E.g. if str is '"one two"', then 'one two' is returned.str
- The string from which the leading and trailing quotes
should be removed.