|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zipxap.vfs.dal.utility.StringPlus
public class StringPlus
This is essentially a wrapper around String with some new function. But in addition, it is designed for longer-term analysis than a standard String. In other words, it is designed to handle repeat-calls to methods without having to recalculate things (for instance uppercase/lowercase). Obviously there is a memory tradeoff here.
| Constructor Summary | |
|---|---|
StringPlus(java.lang.String text)
|
|
| Method Summary | |
|---|---|
char |
charAt(int index)
Returns the char value at the specified index. |
int |
codePointAt(int index)
Returns the character (Unicode code point) at the specified index. |
int |
codePointBefore(int index)
Returns the character (Unicode code point) before the specified index. |
int |
codePointCount(int beginIndex,
int endIndex)
Returns the number of Unicode code points in the specified text range of this String. |
int |
compareTo(java.lang.String anotherString)
Compares two strings lexicographically. |
int |
compareToIgnoreCase(java.lang.String str)
Compares two strings lexicographically, ignoring case differences. |
java.lang.String |
concat(java.lang.String str)
Concatenates the specified string to the end of this string. |
boolean |
contains(java.lang.CharSequence s)
Returns true if and only if this string contains the specified sequence of char values. |
boolean |
contentEquals(java.lang.CharSequence cs)
Compares this string to the specified CharSequence. |
boolean |
contentEquals(java.lang.StringBuffer sb)
Compares this string to the specified StringBuffer. |
boolean |
endsWith(java.lang.String suffix)
Tests if this string ends with the specified suffix. |
boolean |
equals(java.lang.Object anObject)
Compares this string to the specified object. |
boolean |
equalsIgnoreCase(java.lang.String anotherString)
Compares this String to another String, ignoring case considerations. |
byte[] |
getBytes()
Encodes this String into a sequence of bytes using the platform's default charset, storing the result into a new byte array. |
byte[] |
getBytes(java.nio.charset.Charset charset)
Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte array. |
byte[] |
getBytes(java.lang.String charsetName)
Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array. |
void |
getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
Copies characters from this string into the destination character array. |
int |
getLineNumber(int absoluteColumnIndex)
Retrieves the line number containing the given absolute column index. |
SuperPhrase |
getNextConstruct(Construct construct,
int startIndex,
boolean ignoreCase)
Returns a SuperPhrase containing an instance of the given Construct, else null if it was not found. |
SuperPhrase |
getNextConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
Returns a SuperPhrase containing an instance of the given Construct, else null if it was not found. |
int |
getRelativeColumnIndex(int absoluteColumnIndex)
Retrieves the column index relative to the line this column belongs to. |
int |
hashCode()
Returns a hash code for this string. |
int |
indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character. |
int |
indexOf(int ch,
int fromIndex)
Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index. |
int |
indexOf(int ch,
int fromIndex,
int toIndex)
Returns the index within this string of the first occurrence of the specified character, between the specified fromIndex and toIndex. |
int |
indexOf(java.lang.String str)
Returns the index within this string of the first occurrence of the specified substring. |
int |
indexOf(java.lang.String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. |
int |
indexOf(java.lang.String str,
int fromIndex,
boolean ignoreCase)
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. |
int |
indexOf(java.lang.String str,
int fromIndex,
int toIndex)
Returns the index within this string of the first occurrence of the specified substring, between the specified fromIndex and toIndex. |
int |
indexOfBackwards(java.lang.String searchString,
int index,
boolean ignoreCase)
Returns the index within this string of the first occurrence of the specified substring, working backwards from the specified index. |
int |
indexOfConstruct(Construct construct)
Returns the index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfConstruct(Construct construct,
boolean ignoreCase)
Returns the index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfConstruct(Construct construct,
int fromIndex)
Returns the index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfConstruct(Construct construct,
int fromIndex,
boolean ignoreCase)
Returns the index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
Returns the index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfConstruct(Construct construct)
Returns the end index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfConstruct(Construct construct,
boolean ignoreCase)
Returns the end index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfConstruct(Construct construct,
int fromIndex)
Returns the end index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfConstruct(Construct construct,
int fromIndex,
boolean ignoreCase)
Returns the end index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
Returns the end index within this string of the first occurrence of the specified construct, starting at the specified index. |
int |
indexOfEndOfLitteral(int startingQuoteIndex,
char escapeCharacter)
Finds the end index of the litteral beginning at the specified startingQuoteIndex |
int |
indexOfEndOfLitteral(int startingQuoteIndex,
char escapeCharacter,
int endIndex)
Finds the end index of the litteral beginning at the specified startingQuoteIndex |
int |
indexOfEndOfNumber(int startIndex)
Find the index following the last digit of the simple number starting at startIndex. |
int |
indexOfIgnoreCase(java.lang.String searchString)
|
int |
indexOfIgnoreCase(java.lang.String searchString,
int startIndex)
Returns the index within this string of the first occurrence of the specified substring, ignoring case, and starting at the specified index. |
static int |
indexOfIgnoreCase(java.lang.String text,
java.lang.String searchString)
|
static int |
indexOfIgnoreCase(java.lang.String text,
java.lang.String searchString,
int startIndex)
Returns the index within this string of the first occurrence of the specified substring, ignoring case, and starting at the specified index. |
int |
indexOfMatchingParenthesis(int parenIndex,
boolean complainIfNotFound)
matches on (),[], {}, and <> |
int |
indexOfNextAlphaNumeric(int index)
Locates the next alpha-numeric character |
int |
indexOfNextAlphaNumericBackwards(int index)
Locates the next alpha-numeric character, working backwards from the specified index |
int |
indexOfNextNonAlphaNumeric(int index)
Locates the next non-whitespace, non-alphanumeric character character |
int |
indexOfNextNonAlphaNumericBackwards(int index)
Locates the next non-whitespace, non-alphanumeric character, working backwards from the specified index |
int |
indexOfNextNonAlphaNumericPlus(int index,
int[] additionalValidCodePoints,
boolean includeWhitespace)
Locates the next non-whitespace, non-alphanumeric character character |
int |
indexOfNextNonWhitespace(int index)
Locates the next non-whitespace character |
int |
indexOfNextNonWhitespaceBackwards(int index)
Locates the next non-whitespace character, working backwards from the specified index |
int |
indexOfNextWhitespace(int index)
Locates the next whitespace character |
int |
indexOfNextWhitespaceBackwards(int index)
Locates the next whitespace character, working backwards from the specified index |
int |
indexOfStartOfLitteralBackwards(int endingQuoteIndex,
char escapeCharacter)
Finds the end index of the litteral beginning at the specified startingQuoteIndex |
int |
indexOfStartOfNumberBackwards(int endIndex)
Find the index of the first digit of the simple number starting before endIndex and eding on or after endIndex. |
int |
indexOfUnescaped(char character,
char escapeCharacter,
int startIndex)
Finds the index of the first unescaped instance of the specified character. |
int |
indexOfUnescaped(char character,
char escapeCharacter,
int startIndex,
int endIndex)
Finds the index of the first unescaped instance of the specified character. |
int |
indexOfWord(java.lang.String searchWord)
Locates the first occurence of the specified searchWord that is surrounded on either side by only non-alpha-numeric characters. |
int |
indexOfWord(java.lang.String searchWord,
boolean ignoreCase)
Locates the first occurence of the specified searchWord that is surrounded on either side by only non-alpha-numeric characters. |
int |
indexOfWord(java.lang.String searchWord,
int startIndex)
Locates the first occurence of the specified searchWord that is surrounded on either side by only non-alpha-numeric characters. |
int |
indexOfWord(java.lang.String searchWord,
int startIndex,
boolean ignoreCase)
Locates the first occurence of the specified searchWord that is surrounded on either side by only non-alpha-numeric characters. |
int |
indexOfWord(java.lang.String searchWord,
int startIndex,
int endIndex,
boolean ignoreCase)
Locates the first occurence of the specified searchWord that is surrounded on either side by only non-alpha-numeric characters. |
java.lang.String |
intern()
Returns a canonical representation for the string object. |
boolean |
isAlgebraicOperatorAtIndex(int index)
Determine if the character at the specified index is an algebraic operator |
boolean |
isConstructAtIndex(int index,
Construct construct,
boolean ignoreCase)
Tests if the specified construct is located at the specified index. |
boolean |
isEmpty()
Returns true if, and only if, length() is 0. |
boolean |
isPossibleStartOfNumber(int index)
Determine if this could possibly be the beginning of a number |
boolean |
isSubstringAtIndex(int index,
java.lang.String substring)
Tests if the specified substring occurs at the specified index. |
boolean |
isSubstringAtIndex(int index,
java.lang.String substring,
boolean ignoreCase)
Tests if the specified substring occurs at the specified index. |
static boolean |
isSubstringAtIndex(java.lang.String text,
int index,
java.lang.String substring,
boolean ignoreCase)
Tests if the specified substring occurs at the specified index. |
boolean |
isSubstringAtIndexIgnoreCase(int index,
java.lang.String substring)
Tests if the specified substring occurs at the specified index, ignoring case. |
static boolean |
isSubstringAtIndexIgnoreCase(java.lang.String text,
int index,
java.lang.String substring)
Tests if the specified substring occurs at the specified index, ignoring case. |
boolean |
isWhitespaceAtIndex(int index)
Tests if there is a whitespace character (' ', '\n', '\r', or '\t') at the specified index. |
static boolean |
isWhitespaceCharacter(int codePoint)
|
int |
lastIndexOf(int ch)
Returns the index within this string of the last occurrence of the specified character. |
int |
lastIndexOf(int ch,
int fromIndex)
Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index. |
int |
lastIndexOf(java.lang.String str)
Returns the index within this string of the rightmost occurrence of the specified substring. |
int |
lastIndexOf(java.lang.String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index. |
int |
length()
Returns the length of this string. |
boolean |
matches(java.lang.String regex)
Tells whether or not this string matches the given regular expression. |
int |
offsetByCodePoints(int index,
int codePointOffset)
Returns the index within this String that is offset from the given index by codePointOffset code points. |
static java.lang.String |
padWithSpaces(java.lang.String value,
int size)
|
boolean |
regionMatches(boolean ignoreCase,
int toffset,
java.lang.String other,
int ooffset,
int len)
Tests if two string regions are equal. |
boolean |
regionMatches(int toffset,
java.lang.String other,
int ooffset,
int len)
Tests if two string regions are equal. |
static java.lang.String |
repeatCharacter(char c,
int nTimesToRepeat)
|
java.lang.String |
replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar. |
java.lang.String |
replace(java.lang.CharSequence target,
java.lang.CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. |
java.lang.String |
replaceAll(java.lang.String regex,
java.lang.String replacement)
Replaces each substring of this string that matches the given regular expression with the given replacement. |
java.lang.String |
replaceConstruct(Construct target,
java.lang.String replacement,
boolean ignoreCase)
Replaces each substring of this string that matches the construct target sequence with the specified literal replacement sequence. |
java.lang.String |
replaceFirst(java.lang.String regex,
java.lang.String replacement)
Replaces the first substring of this string that matches the given regular expression with the given replacement. |
java.util.List<java.lang.String> |
split(char c,
boolean trimElements)
Splits this string around matches of the given character |
java.lang.String[] |
split(java.lang.String regex)
Splits this string around matches of the given regular expression. |
java.lang.String[] |
split(java.lang.String regex,
boolean trimElements)
Splits this string around matches of the given regular expression. |
java.lang.String[] |
split(java.lang.String regex,
int limit)
Splits this string around matches of the given regular expression. |
boolean |
startsWith(java.lang.String prefix)
Splits this string around matches of the given regular expression. |
boolean |
startsWith(java.lang.String prefix,
int toffset)
Splits this string around matches of the given regular expression. |
java.lang.CharSequence |
subSequence(int beginIndex,
int endIndex)
Splits this string around matches of the given regular expression. |
java.lang.String |
substring(int beginIndex)
Splits this string around matches of the given regular expression. |
java.lang.String |
substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string. |
char[] |
toCharArray()
Converts this string to a new character array. |
java.lang.String |
toLowerCase()
Converts all of the characters in this String to lower case using the rules of the default locale. |
java.lang.String |
toLowerCase(java.util.Locale locale)
Converts all of the characters in this String to lower case using the rules of the default locale. |
java.lang.String |
toString()
|
java.lang.String |
toUpperCase()
Converts all of the characters in this String to upper case using the rules of the default locale. |
java.lang.String |
toUpperCase(java.util.Locale locale)
Converts all of the characters in this String to upper case using the rules of the given Locale. |
java.lang.String |
trim()
Returns a copy of the string, with leading and trailing whitespace omitted. |
static java.lang.String |
trim(java.lang.String text)
|
java.lang.String |
trimSpaces()
Trim only ' ' characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringPlus(java.lang.String text)
| Method Detail |
|---|
public char charAt(int index)
index -
public int codePointAt(int index)
index -
public int codePointBefore(int index)
index -
public int codePointCount(int beginIndex,
int endIndex)
beginIndex - endIndex -
public int compareTo(java.lang.String anotherString)
anotherString -
public int compareToIgnoreCase(java.lang.String str)
str -
public java.lang.String concat(java.lang.String str)
str -
public boolean contains(java.lang.CharSequence s)
s -
public boolean contentEquals(java.lang.CharSequence cs)
cs -
public boolean contentEquals(java.lang.StringBuffer sb)
sb -
public boolean endsWith(java.lang.String suffix)
suffix -
public boolean equals(java.lang.Object anObject)
equals in class java.lang.ObjectanObject -
public boolean equalsIgnoreCase(java.lang.String anotherString)
anotherString -
public byte[] getBytes()
public byte[] getBytes(java.nio.charset.Charset charset)
charset -
public byte[] getBytes(java.lang.String charsetName)
throws java.io.UnsupportedEncodingException
charsetName -
java.io.UnsupportedEncodingException
public void getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
srcBegin - srcEnd - dst - dstBegin - public int hashCode()
hashCode in class java.lang.Objectpublic int indexOf(int ch)
ch -
public int indexOf(int ch,
int fromIndex)
ch - fromIndex -
public int indexOf(int ch,
int fromIndex,
int toIndex)
ch - fromIndex - toIndex - exclusive
public int indexOf(java.lang.String str)
str -
public int indexOf(java.lang.String str,
int fromIndex)
str - fromIndex -
public int indexOf(java.lang.String str,
int fromIndex,
int toIndex)
str - fromIndex - toIndex -
public int indexOf(java.lang.String str,
int fromIndex,
boolean ignoreCase)
str - fromIndex -
public int indexOfBackwards(java.lang.String searchString,
int index,
boolean ignoreCase)
searchString - index - ignoreCase -
public int indexOfConstruct(Construct construct)
construct -
public int indexOfConstruct(Construct construct,
boolean ignoreCase)
construct - ignoreCase -
public int indexOfConstruct(Construct construct,
int fromIndex)
construct - fromIndex -
public int indexOfConstruct(Construct construct,
int fromIndex,
boolean ignoreCase)
construct - fromIndex - ignoreCase -
public int indexOfConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
str - fromIndex -
public int indexOfEndOfConstruct(Construct construct)
construct -
public int indexOfEndOfConstruct(Construct construct,
boolean ignoreCase)
construct - ignoreCase -
public int indexOfEndOfConstruct(Construct construct,
int fromIndex)
construct - fromIndex -
public int indexOfEndOfConstruct(Construct construct,
int fromIndex,
boolean ignoreCase)
construct - fromIndex - ignoreCase -
public int indexOfEndOfConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
str - fromIndex -
public int indexOfEndOfLitteral(int startingQuoteIndex,
char escapeCharacter)
startingQuoteIndex
startingQuoteIndex - The index of the quote character that signifies the beginning of the litteralescapeCharacter - the escape character
public int indexOfUnescaped(char character,
char escapeCharacter,
int startIndex)
character - The character to locateescapeCharacter - The character used to indicate an escaped characterstartIndex - The index to begin searching from
public int indexOfUnescaped(char character,
char escapeCharacter,
int startIndex,
int endIndex)
character - The character to locateescapeCharacter - The character used to indicate an escaped characterstartIndex - The index to begin searching fromendIndex - The index to end searching at
public int indexOfEndOfLitteral(int startingQuoteIndex,
char escapeCharacter,
int endIndex)
startingQuoteIndex
startingQuoteIndex - The index of the quote character that signifies the beginning of the litteralescapeCharacter - the escape characterendIndex - the index at which to stop searching for the end of the litteral
public int indexOfStartOfLitteralBackwards(int endingQuoteIndex,
char escapeCharacter)
startingQuoteIndex
startingQuoteIndex - The index of the quote character that signifies the beginning of the litteralescapeCharacter - the escape character
public boolean isPossibleStartOfNumber(int index)
index -
true if the character at the specified index is
one of; '.',isDigit(),'-',or'+'public int indexOfEndOfNumber(int startIndex)
startIndex - the index where the number begins. This method will still find
the end number even if startIndex is pointing towards some digit within the number
after the first digit.
public int indexOfStartOfNumberBackwards(int endIndex)
startIndex - the index where the number begins. This method will still find
the end number even if startIndex is pointing towards some digit within the number
after the first digit.
public boolean isAlgebraicOperatorAtIndex(int index)
index -
true if the char at the specified index is one of;
'+','-','/','*','^','=','!','<', or '>'
public SuperPhrase getNextConstruct(Construct construct,
int startIndex,
boolean ignoreCase)
construct - startIndex - ignoreCase -
public SuperPhrase getNextConstruct(Construct construct,
int startIndex,
int endIndex,
boolean ignoreCase)
construct - startIndex - endIndex - ignoreCase -
public int indexOfIgnoreCase(java.lang.String searchString)
public static int indexOfIgnoreCase(java.lang.String text,
java.lang.String searchString)
public int indexOfMatchingParenthesis(int parenIndex,
boolean complainIfNotFound)
public int indexOfNextAlphaNumeric(int index)
index -
public int indexOfNextNonAlphaNumeric(int index)
index -
public int indexOfNextNonAlphaNumericPlus(int index,
int[] additionalValidCodePoints,
boolean includeWhitespace)
index - additionalValidCodePoints - A list of additional characters (code points)
that are acceptable to skip.
public int indexOfNextAlphaNumericBackwards(int index)
index -
public int indexOfNextNonAlphaNumericBackwards(int index)
index -
public int indexOfNextWhitespace(int index)
index -
public int indexOfNextWhitespaceBackwards(int index)
index -
public int indexOfNextNonWhitespace(int index)
index -
public int indexOfNextNonWhitespaceBackwards(int index)
index -
public int indexOfIgnoreCase(java.lang.String searchString,
int startIndex)
searchString - startIndex -
public static int indexOfIgnoreCase(java.lang.String text,
java.lang.String searchString,
int startIndex)
searchString - startIndex -
public int indexOfWord(java.lang.String searchWord)
searchWord -
public int indexOfWord(java.lang.String searchWord,
boolean ignoreCase)
searchWord - ignoreCase -
public int indexOfWord(java.lang.String searchWord,
int startIndex)
searchWord - startIndex -
public int indexOfWord(java.lang.String searchWord,
int startIndex,
boolean ignoreCase)
searchWord - startIndex - ignoreCase -
public int indexOfWord(java.lang.String searchWord,
int startIndex,
int endIndex,
boolean ignoreCase)
searchWord - startIndex - endIndex -
public boolean isSubstringAtIndex(int index,
java.lang.String substring)
index - substring -
public static boolean isSubstringAtIndex(java.lang.String text,
int index,
java.lang.String substring,
boolean ignoreCase)
text - index - substring -
public boolean isSubstringAtIndex(int index,
java.lang.String substring,
boolean ignoreCase)
index - substring -
public static boolean isSubstringAtIndexIgnoreCase(java.lang.String text,
int index,
java.lang.String substring)
text - index - substring -
public boolean isSubstringAtIndexIgnoreCase(int index,
java.lang.String substring)
index - substring -
public boolean isConstructAtIndex(int index,
Construct construct,
boolean ignoreCase)
index - construct -
public boolean isWhitespaceAtIndex(int index)
index -
public static boolean isWhitespaceCharacter(int codePoint)
public java.lang.String intern()
public boolean isEmpty()
public int lastIndexOf(int ch)
ch -
public int lastIndexOf(int ch,
int fromIndex)
ch - fromIndex -
public int lastIndexOf(java.lang.String str)
str -
public int lastIndexOf(java.lang.String str,
int fromIndex)
str - fromIndex -
public int length()
public boolean matches(java.lang.String regex)
regex -
public int offsetByCodePoints(int index,
int codePointOffset)
index - codePointOffset -
public boolean regionMatches(boolean ignoreCase,
int toffset,
java.lang.String other,
int ooffset,
int len)
ignoreCase - toffset - other - ooffset - len -
public boolean regionMatches(int toffset,
java.lang.String other,
int ooffset,
int len)
toffset - other - ooffset - len -
public java.lang.String replace(char oldChar,
char newChar)
oldChar - newChar -
public java.lang.String replace(java.lang.CharSequence target,
java.lang.CharSequence replacement)
target - replacement -
public java.lang.String replaceConstruct(Construct target,
java.lang.String replacement,
boolean ignoreCase)
target - replacement - param - ignoreCase
public java.lang.String replaceAll(java.lang.String regex,
java.lang.String replacement)
regex - replacement -
public java.lang.String replaceFirst(java.lang.String regex,
java.lang.String replacement)
regex - replacement -
public java.lang.String[] split(java.lang.String regex)
regex -
public java.lang.String[] split(java.lang.String regex,
boolean trimElements)
regex - trimElements -
public java.lang.String[] split(java.lang.String regex,
int limit)
regex - limit -
public java.util.List<java.lang.String> split(char c,
boolean trimElements)
c - trimElements -
public boolean startsWith(java.lang.String prefix)
prefix -
public boolean startsWith(java.lang.String prefix,
int toffset)
prefix - toffset -
public java.lang.CharSequence subSequence(int beginIndex,
int endIndex)
beginIndex - endIndex -
public java.lang.String substring(int beginIndex)
beginIndex -
public java.lang.String substring(int beginIndex,
int endIndex)
beginIndex - endIndex -
public char[] toCharArray()
public java.lang.String toLowerCase()
public java.lang.String toLowerCase(java.util.Locale locale)
locale -
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toUpperCase()
public java.lang.String toUpperCase(java.util.Locale locale)
locale -
public static java.lang.String trim(java.lang.String text)
public java.lang.String trim()
public java.lang.String trimSpaces()
text - The string to trim.
public static java.lang.String padWithSpaces(java.lang.String value,
int size)
public static java.lang.String repeatCharacter(char c,
int nTimesToRepeat)
public int getRelativeColumnIndex(int absoluteColumnIndex)
absoluteColumnIndex -
public int getLineNumber(int absoluteColumnIndex)
absoluteColumnIndex -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||