|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.util.StringUtils
public final class StringUtils
Miscellaneous string comparison utility methods.
| Method Summary | |
|---|---|
static boolean |
equalsIgnoreCase(java.lang.String a,
java.lang.String b)
Test if two strings are equal, ignoring case. |
static char |
toLowerCase(char c)
Convert the input to lowercase. |
static java.lang.String |
toLowerCase(java.lang.String in)
Convert the input string to lower case, according to the "C" locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static char toLowerCase(char c)
This method does not honor the JVM locale, but instead always behaves as though it is in the US-ASCII locale. Only characters in the range 'A' through 'Z' are converted. All other characters are left as-is, even if they otherwise would have a lowercase character equivilant.
c - the input character.
public static java.lang.String toLowerCase(java.lang.String in)
This method does not honor the JVM locale, but instead always behaves as though it is in the US-ASCII locale. Only characters in the range 'A' through 'Z' are converted, all other characters are left as-is, even if they otherwise would have a lowercase character equivilant.
in - the input string. Must not be null.
public static boolean equalsIgnoreCase(java.lang.String a,
java.lang.String b)
This method does not honor the JVM locale, but instead always behaves as though it is in the US-ASCII locale.
a - first string to compare.b - second string to compare.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||