Uses of Class
org.apache.commons.text.StrBuilder

Packages that use StrBuilder
Package
Description
Basic classes for text handling.
  • Uses of StrBuilder in org.apache.commons.text

    Methods in org.apache.commons.text that return StrBuilder
    Modifier and Type
    Method
    Description
    StrBuilder.append(boolean value)
    Deprecated.
    Appends a boolean value to the string builder.
    StrBuilder.append(char ch)
    Deprecated.
    Appends a char value to the string builder.
    StrBuilder.append(char[] chars)
    Deprecated.
    Appends a char array to the string builder.
    StrBuilder.append(char[] chars, int startIndex, int length)
    Deprecated.
    Appends a char array to the string builder.
    StrBuilder.append(double value)
    Deprecated.
    Appends a double value to the string builder using String.valueOf.
    StrBuilder.append(float value)
    Deprecated.
    Appends a float value to the string builder using String.valueOf.
    StrBuilder.append(int value)
    Deprecated.
    Appends an int value to the string builder using String.valueOf.
    StrBuilder.append(long value)
    Deprecated.
    Appends a long value to the string builder using String.valueOf.
    StrBuilder.append(CharSequence seq)
    Deprecated.
    Appends a CharSequence to this string builder.
    StrBuilder.append(CharSequence seq, int startIndex, int length)
    Deprecated.
    Appends part of a CharSequence to this string builder.
    StrBuilder.append(Object obj)
    Deprecated.
    Appends an object to this string builder.
    StrBuilder.append(String str)
    Deprecated.
    Appends a string to this string builder.
    StrBuilder.append(StringBuffer str)
    Deprecated.
    Appends a string buffer to this string builder.
    StrBuilder.append(StringBuffer str, int startIndex, int length)
    Deprecated.
    Appends part of a string buffer to this string builder.
    StrBuilder.append(StringBuilder str)
    Deprecated.
    Appends a StringBuilder to this string builder.
    StrBuilder.append(StringBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a StringBuilder to this string builder.
    StrBuilder.append(String str, int startIndex, int length)
    Deprecated.
    Appends part of a string to this string builder.
    StrBuilder.append(String format, Object... objs)
    Deprecated.
    Calls String.format(String, Object...) and appends the result.
    StrBuilder.append(CharBuffer buf)
    Deprecated.
    Appends the contents of a char buffer to this string builder.
    StrBuilder.append(CharBuffer buf, int startIndex, int length)
    Deprecated.
    Appends the contents of a char buffer to this string builder.
    StrBuilder.append(StrBuilder str)
    Deprecated.
    Appends another string builder to this string builder.
    StrBuilder.append(StrBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a string builder to this string builder.
    StrBuilder.appendAll(Iterable<?> iterable)
    Deprecated.
    Appends each item in an iterable to the builder without any separators.
    StrBuilder.appendAll(Iterator<?> it)
    Deprecated.
    Appends each item in an iterator to the builder without any separators.
    StrBuilder.appendAll(T... array)
    Deprecated.
    Appends each item in an array to the builder without any separators.
    StrBuilder.appendFixedWidthPadLeft(int value, int width, char padChar)
    Deprecated.
    Appends an object to the builder padding on the left to a fixed width.
    StrBuilder.appendFixedWidthPadLeft(Object obj, int width, char padChar)
    Deprecated.
    Appends an object to the builder padding on the left to a fixed width.
    StrBuilder.appendFixedWidthPadRight(int value, int width, char padChar)
    Deprecated.
    Appends an object to the builder padding on the right to a fixed length.
    StrBuilder.appendFixedWidthPadRight(Object obj, int width, char padChar)
    Deprecated.
    Appends an object to the builder padding on the right to a fixed length.
    StrBuilder.appendln(boolean value)
    Deprecated.
    Appends a boolean value followed by a new line to the string builder.
    StrBuilder.appendln(char ch)
    Deprecated.
    Appends a char value followed by a new line to the string builder.
    StrBuilder.appendln(char[] chars)
    Deprecated.
    Appends a char array followed by a new line to the string builder.
    StrBuilder.appendln(char[] chars, int startIndex, int length)
    Deprecated.
    Appends a char array followed by a new line to the string builder.
    StrBuilder.appendln(double value)
    Deprecated.
    Appends a double value followed by a new line to the string builder using String.valueOf.
    StrBuilder.appendln(float value)
    Deprecated.
    Appends a float value followed by a new line to the string builder using String.valueOf.
    StrBuilder.appendln(int value)
    Deprecated.
    Appends an int value followed by a new line to the string builder using String.valueOf.
    StrBuilder.appendln(long value)
    Deprecated.
    Appends a long value followed by a new line to the string builder using String.valueOf.
    StrBuilder.appendln(Object obj)
    Deprecated.
    Appends an object followed by a new line to this string builder.
    StrBuilder.appendln(String str)
    Deprecated.
    Appends a string followed by a new line to this string builder.
    StrBuilder.appendln(StringBuffer str)
    Deprecated.
    Appends a string buffer followed by a new line to this string builder.
    StrBuilder.appendln(StringBuffer str, int startIndex, int length)
    Deprecated.
    Appends part of a string buffer followed by a new line to this string builder.
    StrBuilder.appendln(StringBuilder str)
    Deprecated.
    Appends a string builder followed by a new line to this string builder.
    StrBuilder.appendln(StringBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a string builder followed by a new line to this string builder.
    StrBuilder.appendln(String str, int startIndex, int length)
    Deprecated.
    Appends part of a string followed by a new line to this string builder.
    StrBuilder.appendln(String format, Object... objs)
    Deprecated.
    Calls String.format(String, Object...) and appends the result.
    StrBuilder.appendln(StrBuilder str)
    Deprecated.
    Appends another string builder followed by a new line to this string builder.
    StrBuilder.appendln(StrBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a string builder followed by a new line to this string builder.
    StrBuilder.appendNewLine()
    Deprecated.
    Appends the new line string to this string builder.
    StrBuilder.appendNull()
    Deprecated.
    Appends the text representing null to this string builder.
    StrBuilder.appendPadding(int length, char padChar)
    Deprecated.
    Appends the pad character to the builder the specified number of times.
    StrBuilder.appendSeparator(char separator)
    Deprecated.
    Appends a separator if the builder is currently non-empty.
    StrBuilder.appendSeparator(char standard, char defaultIfEmpty)
    Deprecated.
    Appends one of both separators to the builder If the builder is currently empty it will append the defaultIfEmpty-separator Otherwise it will append the standard-separator The separator is appended using append(char).
    StrBuilder.appendSeparator(char separator, int loopIndex)
    Deprecated.
    Appends a separator to the builder if the loop index is greater than zero.
    StrBuilder.appendSeparator(String separator)
    Deprecated.
    Appends a separator if the builder is currently non-empty.
    StrBuilder.appendSeparator(String separator, int loopIndex)
    Deprecated.
    Appends a separator to the builder if the loop index is greater than zero.
    StrBuilder.appendSeparator(String standard, String defaultIfEmpty)
    Deprecated.
    Appends one of both separators to the StrBuilder.
    StrBuilder.appendWithSeparators(Iterable<?> iterable, String separator)
    Deprecated.
    Appends an iterable placing separators between each value, but not before the first or after the last.
    StrBuilder.appendWithSeparators(Object[] array, String separator)
    Deprecated.
    Appends an array placing separators between each value, but not before the first or after the last.
    StrBuilder.appendWithSeparators(Iterator<?> iterator, String separator)
    Deprecated.
    Appends an iterator placing separators between each value, but not before the first or after the last.
    StrBuilder.clear()
    Deprecated.
    Clears the string builder (convenience Collections API style method).
    StrBuilder.delete(int startIndex, int endIndex)
    Deprecated.
    Deletes the characters between the two specified indices.
    StrBuilder.deleteAll(char ch)
    Deprecated.
    Deletes the character wherever it occurs in the builder.
    StrBuilder.deleteAll(String str)
    Deprecated.
    Deletes the string wherever it occurs in the builder.
    StrBuilder.deleteAll(StrMatcher matcher)
    Deprecated.
    Deletes all parts of the builder that the matcher matches.
    StrBuilder.deleteCharAt(int index)
    Deprecated.
    Deletes the character at the specified index.
    StrBuilder.deleteFirst(char ch)
    Deprecated.
    Deletes the character wherever it occurs in the builder.
    StrBuilder.deleteFirst(String str)
    Deprecated.
    Deletes the string wherever it occurs in the builder.
    StrBuilder.deleteFirst(StrMatcher matcher)
    Deprecated.
    Deletes the first match within the builder using the specified matcher.
    StrBuilder.ensureCapacity(int capacity)
    Deprecated.
    Tests the capacity and ensures that it is at least the size specified.
    StrBuilder.insert(int index, boolean value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, char value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, char[] chars)
    Deprecated.
    Inserts the character array into this builder.
    StrBuilder.insert(int index, char[] chars, int offset, int length)
    Deprecated.
    Inserts part of the character array into this builder.
    StrBuilder.insert(int index, double value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, float value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, int value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, long value)
    Deprecated.
    Inserts the value into this builder.
    StrBuilder.insert(int index, Object obj)
    Deprecated.
    Inserts the string representation of an object into this builder.
    StrBuilder.insert(int index, String str)
    Deprecated.
    Inserts the string into this builder.
    StrBuilder.minimizeCapacity()
    Deprecated.
    Minimizes the capacity to the actual length of the string.
    StrBuilder.replace(int startIndex, int endIndex, String replaceStr)
    Deprecated.
    Replaces a portion of the string builder with another string.
    StrBuilder.replace(StrMatcher matcher, String replaceStr, int startIndex, int endIndex, int replaceCount)
    Deprecated.
    Advanced search and replaces within the builder using a matcher.
    StrBuilder.replaceAll(char search, char replace)
    Deprecated.
    Replaces the search character with the replace character throughout the builder.
    StrBuilder.replaceAll(String searchStr, String replaceStr)
    Deprecated.
    Replaces the search string with the replace string throughout the builder.
    StrBuilder.replaceAll(StrMatcher matcher, String replaceStr)
    Deprecated.
    Replaces all matches within the builder with the replace string.
    StrBuilder.replaceFirst(char search, char replace)
    Deprecated.
    Replaces the first instance of the search character with the replace character in the builder.
    StrBuilder.replaceFirst(String searchStr, String replaceStr)
    Deprecated.
    Replaces the first instance of the search string with the replace string.
    StrBuilder.replaceFirst(StrMatcher matcher, String replaceStr)
    Deprecated.
    Replaces the first match within the builder with the replace string.
    StrBuilder.reverse()
    Deprecated.
    Reverses the string builder placing each character in the opposite index.
    StrBuilder.setCharAt(int index, char ch)
    Deprecated.
    Sets the character at the specified index.
    StrBuilder.setLength(int length)
    Deprecated.
    Updates the length of the builder by either dropping the last characters or adding filler of Unicode zero.
    StrBuilder.setNewLineText(String newLine)
    Deprecated.
    Sets the text to be appended when a new line is added.
    StrBuilder.setNullText(String nullText)
    Deprecated.
    Sets the text to be appended when null is added.
    StrBuilder.trim()
    Deprecated.
    Trims the builder by removing characters less than or equal to a space from the beginning and end.
    Methods in org.apache.commons.text with parameters of type StrBuilder
    Modifier and Type
    Method
    Description
    StrBuilder.append(StrBuilder str)
    Deprecated.
    Appends another string builder to this string builder.
    StrBuilder.append(StrBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a string builder to this string builder.
    StrBuilder.appendln(StrBuilder str)
    Deprecated.
    Appends another string builder followed by a new line to this string builder.
    StrBuilder.appendln(StrBuilder str, int startIndex, int length)
    Deprecated.
    Appends part of a string builder followed by a new line to this string builder.
    boolean
    StrBuilder.equals(StrBuilder other)
    Deprecated.
    Tests the contents of this builder against another to see if they contain the same character content.
    boolean
    StrBuilder.equalsIgnoreCase(StrBuilder other)
    Deprecated.
    Tests the contents of this builder against another to see if they contain the same character content ignoring case.
    StrSubstitutor.replace(StrBuilder source)
    Deprecated.
    Replaces all the occurrences of variables with their matching values from the resolver using the given source builder as a template.
    StrSubstitutor.replace(StrBuilder source, int offset, int length)
    Deprecated.
    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)
    Deprecated.
    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)
    Deprecated.
    Replaces all the occurrences of variables within the given source builder with their matching values from the resolver.
    protected String
    StrSubstitutor.resolveVariable(String variableName, StrBuilder buf, int startPos, int endPos)
    Deprecated.
    Internal method that resolves the value of a variable.
    protected boolean
    StrSubstitutor.substitute(StrBuilder buf, int offset, int length)
    Deprecated.
    Internal method that substitutes the variables.