|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.cli.Util
class Util
Contains useful helper methods for classes within this package.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
(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 begining of str and
return the new String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Util()
| Method Detail |
|---|
static java.lang.String stripLeadingHyphens(java.lang.String str)
Remove the hyphens from the begining of 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||