|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StrBuilder | |
org.apache.commons.lang.text |
Provides classes for handling and manipulating text, partly as an extension to java.text . |
Uses of StrBuilder in org.apache.commons.lang.text |
Methods in org.apache.commons.lang.text that return StrBuilder | |
StrBuilder |
StrBuilder.setNewLineText(java.lang.String newLine)
Sets the text to be appended when a new line is added. |
StrBuilder |
StrBuilder.setNullText(java.lang.String nullText)
Sets the text to be appended when null is added. |
StrBuilder |
StrBuilder.setLength(int length)
Updates the length of the builder by either dropping the last characters or adding filler of unicode zero. |
StrBuilder |
StrBuilder.ensureCapacity(int capacity)
Checks the capacity and ensures that it is at least the size specified. |
StrBuilder |
StrBuilder.minimizeCapacity()
Minimizes the capacity to the actual length of the string. |
StrBuilder |
StrBuilder.clear()
Clears the string builder (convenience Collections API style method). |
StrBuilder |
StrBuilder.setCharAt(int index,
char ch)
Sets the character at the specified index. |
StrBuilder |
StrBuilder.deleteCharAt(int index)
Deletes the character at the specified index. |
StrBuilder |
StrBuilder.appendNewLine()
Appends the new line string to this string builder. |
StrBuilder |
StrBuilder.appendNull()
Appends the text representing null to this string builder. |
StrBuilder |
StrBuilder.append(java.lang.Object obj)
Appends an object to this string builder. |
StrBuilder |
StrBuilder.append(java.lang.String str)
Appends a string to this string builder. |
StrBuilder |
StrBuilder.append(java.lang.String str,
int startIndex,
int length)
Appends part of a string to this string builder. |
StrBuilder |
StrBuilder.append(java.lang.StringBuffer str)
Appends a string buffer to this string builder. |
StrBuilder |
StrBuilder.append(java.lang.StringBuffer str,
int startIndex,
int length)
Appends part of a string buffer to this string builder. |
StrBuilder |
StrBuilder.append(StrBuilder str)
Appends another string builder to this string builder. |
StrBuilder |
StrBuilder.append(StrBuilder str,
int startIndex,
int length)
Appends part of a string builder to this string builder. |
StrBuilder |
StrBuilder.append(char[] chars)
Appends a char array to the string builder. |
StrBuilder |
StrBuilder.append(char[] chars,
int startIndex,
int length)
Appends a char array to the string builder. |
StrBuilder |
StrBuilder.append(boolean value)
Appends a boolean value to the string builder. |
StrBuilder |
StrBuilder.append(char ch)
Appends a char value to the string builder. |
StrBuilder |
StrBuilder.append(int value)
Appends an int value to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.append(long value)
Appends a long value to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.append(float value)
Appends a float value to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.append(double value)
Appends a double value to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.appendln(java.lang.Object obj)
Appends an object followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(java.lang.String str)
Appends a string followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(java.lang.String str,
int startIndex,
int length)
Appends part of a string followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(java.lang.StringBuffer str)
Appends a string buffer followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(java.lang.StringBuffer str,
int startIndex,
int length)
Appends part of a string buffer followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(StrBuilder str)
Appends another string builder followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(StrBuilder str,
int startIndex,
int length)
Appends part of a string builder followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(char[] chars)
Appends a char array followed by a new line to the string builder. |
StrBuilder |
StrBuilder.appendln(char[] chars,
int startIndex,
int length)
Appends a char array followed by a new line to the string builder. |
StrBuilder |
StrBuilder.appendln(boolean value)
Appends a boolean value followed by a new line to the string builder. |
StrBuilder |
StrBuilder.appendln(char ch)
Appends a char value followed by a new line to the string builder. |
StrBuilder |
StrBuilder.appendln(int value)
Appends an int value followed by a new line to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.appendln(long value)
Appends a long value followed by a new line to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.appendln(float value)
Appends a float value followed by a new line to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.appendln(double value)
Appends a double value followed by a new line to the string builder using String.valueOf . |
StrBuilder |
StrBuilder.appendAll(java.lang.Object[] array)
Appends each item in an array to the builder without any separators. |
StrBuilder |
StrBuilder.appendAll(java.util.Collection coll)
Appends each item in a collection to the builder without any separators. |
StrBuilder |
StrBuilder.appendAll(java.util.Iterator it)
Appends each item in an iterator to the builder without any separators. |
StrBuilder |
StrBuilder.appendWithSeparators(java.lang.Object[] array,
java.lang.String separator)
Appends an array placing separators between each value, but not before the first or after the last. |
StrBuilder |
StrBuilder.appendWithSeparators(java.util.Collection coll,
java.lang.String separator)
Appends a collection placing separators between each value, but not before the first or after the last. |
StrBuilder |
StrBuilder.appendWithSeparators(java.util.Iterator it,
java.lang.String separator)
Appends an iterator placing separators between each value, but not before the first or after the last. |
StrBuilder |
StrBuilder.appendSeparator(java.lang.String separator)
Appends a separator if the builder is currently non-empty. |
StrBuilder |
StrBuilder.appendSeparator(char separator)
Appends a separator if the builder is currently non-empty. |
StrBuilder |
StrBuilder.appendSeparator(java.lang.String separator,
int loopIndex)
Appends a separator to the builder if the loop index is greater than zero. |
StrBuilder |
StrBuilder.appendSeparator(char separator,
int loopIndex)
Appends a separator to the builder if the loop index is greater than zero. |
StrBuilder |
StrBuilder.appendPadding(int length,
char padChar)
Appends the pad character to the builder the specified number of times. |
StrBuilder |
StrBuilder.appendFixedWidthPadLeft(java.lang.Object obj,
int width,
char padChar)
Appends an object to the builder padding on the left to a fixed width. |
StrBuilder |
StrBuilder.appendFixedWidthPadLeft(int value,
int width,
char padChar)
Appends an object to the builder padding on the left to a fixed width. |
StrBuilder |
StrBuilder.appendFixedWidthPadRight(java.lang.Object obj,
int width,
char padChar)
Appends an object to the builder padding on the right to a fixed length. |
StrBuilder |
StrBuilder.appendFixedWidthPadRight(int value,
int width,
char padChar)
Appends an object to the builder padding on the right to a fixed length. |
StrBuilder |
StrBuilder.insert(int index,
java.lang.Object obj)
Inserts the string representation of an object into this builder. |
StrBuilder |
StrBuilder.insert(int index,
java.lang.String str)
Inserts the string into this builder. |
StrBuilder |
StrBuilder.insert(int index,
char[] chars)
Inserts the character array into this builder. |
StrBuilder |
StrBuilder.insert(int index,
char[] chars,
int offset,
int length)
Inserts part of the character array into this builder. |
StrBuilder |
StrBuilder.insert(int index,
boolean value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.insert(int index,
char value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.insert(int index,
int value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.insert(int index,
long value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.insert(int index,
float value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.insert(int index,
double value)
Inserts the value into this builder. |
StrBuilder |
StrBuilder.delete(int startIndex,
int endIndex)
Deletes the characters between the two specified indices. |
StrBuilder |
StrBuilder.deleteAll(char ch)
Deletes the character wherever it occurs in the builder. |
StrBuilder |
StrBuilder.deleteFirst(char ch)
Deletes the character wherever it occurs in the builder. |
StrBuilder |
StrBuilder.deleteAll(java.lang.String str)
Deletes the string wherever it occurs in the builder. |
StrBuilder |
StrBuilder.deleteFirst(java.lang.String str)
Deletes the string wherever it occurs in the builder. |
StrBuilder |
StrBuilder.deleteAll(StrMatcher matcher)
Deletes all parts of the builder that the matcher matches. |
StrBuilder |
StrBuilder.deleteFirst(StrMatcher matcher)
Deletes the first match within the builder using the specified matcher. |
StrBuilder |
StrBuilder.replace(int startIndex,
int endIndex,
java.lang.String replaceStr)
Replaces a portion of the string builder with another string. |
StrBuilder |
StrBuilder.replaceAll(char search,
char replace)
Replaces the search character with the replace character throughout the builder. |
StrBuilder |
StrBuilder.replaceFirst(char search,
char replace)
Replaces the first instance of the search character with the replace character in the builder. |
StrBuilder |
StrBuilder.replaceAll(java.lang.String searchStr,
java.lang.String replaceStr)
Replaces the search string with the replace string throughout the builder. |
StrBuilder |
StrBuilder.replaceFirst(java.lang.String searchStr,
java.lang.String replaceStr)
Replaces the first instance of the search string with the replace string. |
StrBuilder |
StrBuilder.replaceAll(StrMatcher matcher,
java.lang.String replaceStr)
Replaces all matches within the builder with the replace string. |
StrBuilder |
StrBuilder.replaceFirst(StrMatcher matcher,
java.lang.String replaceStr)
Replaces the first match within the builder with the replace string. |
StrBuilder |
StrBuilder.replace(StrMatcher matcher,
java.lang.String replaceStr,
int startIndex,
int endIndex,
int replaceCount)
Advanced search and replaces within the builder using a matcher. |
StrBuilder |
StrBuilder.reverse()
Reverses the string builder placing each character in the opposite index. |
StrBuilder |
StrBuilder.trim()
Trims the builder by removing characters less than or equal to a space from the beginning and end. |
Methods in org.apache.commons.lang.text with parameters of type StrBuilder | |
java.lang.String |
StrSubstitutor.replace(StrBuilder source)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template. |
java.lang.String |
StrSubstitutor.replace(StrBuilder source,
int offset,
int length)
Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template. |
boolean |
StrSubstitutor.replaceIn(StrBuilder source)
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver. |
boolean |
StrSubstitutor.replaceIn(StrBuilder source,
int offset,
int length)
Replaces all the occurrences of variables within the given source builder with their matching values from the resolver. |
protected boolean |
StrSubstitutor.substitute(StrBuilder buf,
int offset,
int length)
Internal method that substitutes the variables. |
protected java.lang.String |
StrSubstitutor.resolveVariable(java.lang.String variableName,
StrBuilder buf,
int startPos,
int endPos)
Internal method that resolves the value of a variable. |
StrBuilder |
StrBuilder.append(StrBuilder str)
Appends another string builder to this string builder. |
StrBuilder |
StrBuilder.append(StrBuilder str,
int startIndex,
int length)
Appends part of a string builder to this string builder. |
StrBuilder |
StrBuilder.appendln(StrBuilder str)
Appends another string builder followed by a new line to this string builder. |
StrBuilder |
StrBuilder.appendln(StrBuilder str,
int startIndex,
int length)
Appends part of a string builder followed by a new line to this string builder. |
boolean |
StrBuilder.equalsIgnoreCase(StrBuilder other)
Checks the contents of this builder against another to see if they contain the same character content ignoring case. |
boolean |
StrBuilder.equals(StrBuilder other)
Checks the contents of this builder against another to see if they contain the same character content. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |