Static Public Member Functions | |
String | stripChars (String str, int startIndex, int endIndex, char[] chars, boolean exclude) |
Removes certain characters from a substring. | |
String | stripAllExceptConsonantsOrFirstChar (String str) |
Removes all non-consonant characters except the first character. | |
Static Public Attributes | |
final char[] | VOWELS |
Contains the vowels in the english language, both upper- and lower-case versions. | |
final char[] | CONSONANTS |
Contains the consonants in the english language, both upper- and lower-case versions. | |
Private Member Functions | |
StringUtilities () |
Definition at line 64 of file StringUtilities.java.
|
Definition at line 65 of file StringUtilities.java. |
|
Removes all non-consonant characters except the first character.
Definition at line 125 of file StringUtilities.java. References com.arcle.rmt.j2se.util.StringUtilities.CONSONANTS, and com.arcle.rmt.j2se.util.StringUtilities.stripChars(). |
|
Removes certain characters from a substring. This method iterates through the characters in the specified substring, copying the desired characters into its output and ommitting all other characters.
When
Definition at line 97 of file StringUtilities.java. Referenced by com.arcle.rmt.j2se.util.StringUtilities.stripAllExceptConsonantsOrFirstChar(). |
|
Initial value: { 'b','c','d','f','g','h','j','k','l','m','n','p','q','r','s','t','v', 'w','x','y','z', 'B','C','D','F','G','H','J','K','L','M','N','P','Q','R','S','T','V', 'W','X','Y','Z' }
Definition at line 144 of file StringUtilities.java. Referenced by com.arcle.rmt.j2se.util.StringUtilities.stripAllExceptConsonantsOrFirstChar(). |
|
Initial value: { 'a', 'i', 'u', 'e', 'o', 'A', 'I', 'U', 'E', 'O' }
Definition at line 135 of file StringUtilities.java. |