Uses of Class
java.lang.StringBuffer
| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.text | |
| java.util.regex | |
| org.apache.commons.logging.impl |
Concrete implementations of commons-logging wrapper APIs.
|
| org.apache.harmony.xml.dom | |
| org.apache.xml.utils |
Implementation of Xalan utility classes.
|
| org.bouncycastle.asn1.x500.style |
-
Uses of StringBuffer in java.io
Methods in java.io that return StringBuffer Modifier and Type Method Description StringBufferStringWriter. getBuffer()Gets a reference to this writer's internalStringBuffer. -
Uses of StringBuffer in java.lang
Methods in java.lang that return StringBuffer Modifier and Type Method Description StringBufferStringBuffer. append(boolean b)Adds the string representation of the specified boolean to the end of this StringBuffer.StringBufferStringBuffer. append(char ch)Adds the specified character to the end of this buffer.StringBufferStringBuffer. append(char[] chars)Adds the character array to the end of this buffer.StringBufferStringBuffer. append(char[] chars, int start, int length)Adds the specified sequence of characters to the end of this buffer.StringBufferStringBuffer. append(double d)Adds the string representation of the specified double to the end of this StringBuffer.StringBufferStringBuffer. append(float f)Adds the string representation of the specified float to the end of this StringBuffer.StringBufferStringBuffer. append(int i)Adds the string representation of the specified integer to the end of this StringBuffer.StringBufferStringBuffer. append(long l)Adds the string representation of the specified long to the end of this StringBuffer.StringBufferStringBuffer. append(CharSequence s)Appends the specified CharSequence to this buffer.StringBufferStringBuffer. append(CharSequence s, int start, int end)Appends the specified subsequence of the CharSequence to this buffer.StringBufferStringBuffer. append(Object obj)Adds the string representation of the specified object to the end of this StringBuffer.StringBufferStringBuffer. append(String string)Adds the specified string to the end of this buffer.StringBufferStringBuffer. append(StringBuffer sb)Adds the specified StringBuffer to the end of this buffer.StringBufferStringBuffer. appendCodePoint(int codePoint)Appends the string representation of the specified Unicode code point to the end of this buffer.StringBufferStringBuffer. delete(int start, int end)Deletes a range of characters.StringBufferStringBuffer. deleteCharAt(int location)Deletes the character at the specified offset.StringBufferStringBuffer. insert(int index, boolean b)Inserts the string representation of the specified boolean into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, char ch)Inserts the character into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, char[] chars)Inserts the character array into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, char[] chars, int start, int length)Inserts the specified subsequence of characters into this buffer at the specified index.StringBufferStringBuffer. insert(int index, double d)Inserts the string representation of the specified into this buffer double at the specified offset.StringBufferStringBuffer. insert(int index, float f)Inserts the string representation of the specified float into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, int i)Inserts the string representation of the specified integer into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, long l)Inserts the string representation of the specified long into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, CharSequence s)Inserts the specified CharSequence into this buffer at the specified index.StringBufferStringBuffer. insert(int index, CharSequence s, int start, int end)Inserts the specified subsequence into this buffer at the specified index.StringBufferStringBuffer. insert(int index, Object obj)Inserts the string representation of the specified object into this buffer at the specified offset.StringBufferStringBuffer. insert(int index, String string)Inserts the string into this buffer at the specified offset.StringBufferStringBuffer. replace(int start, int end, String string)Replaces the characters in the specified range with the contents of the specified string.StringBufferStringBuffer. reverse()Reverses the order of characters in this buffer.Methods in java.lang with parameters of type StringBuffer Modifier and Type Method Description StringBufferStringBuffer. append(StringBuffer sb)Adds the specified StringBuffer to the end of this buffer.StringBuilderStringBuilder. append(StringBuffer sb)Appends the contents of the specifiedStringBuffer.booleanString. contentEquals(StringBuffer strbuf)Returns whether the characters in the StringBufferstrbufare the same as those in this string.Constructors in java.lang with parameters of type StringBuffer Constructor Description String(StringBuffer stringBuffer)Creates aStringfrom the contents of the specifiedStringBuffer. -
Uses of StringBuffer in java.text
Methods in java.text that return StringBuffer Modifier and Type Method Description StringBufferChoiceFormat. format(double value, StringBuffer buffer, FieldPosition field)Appends the string associated with the range in which the specified double value fits to the specified string buffer.StringBufferChoiceFormat. format(long value, StringBuffer buffer, FieldPosition field)Appends the string associated with the range in which the specified long value fits to the specified string buffer.StringBufferDateFormat. format(Object object, StringBuffer buffer, FieldPosition field)Formats the specified object as a string using the pattern of this date format and appends the string to the specified string buffer.abstract StringBufferDateFormat. format(Date date, StringBuffer buffer, FieldPosition field)Formats the specified date as a string using the pattern of this date format and appends the string to the specified string buffer.StringBufferDecimalFormat. format(double value, StringBuffer buffer, FieldPosition position)StringBufferDecimalFormat. format(long value, StringBuffer buffer, FieldPosition position)StringBufferDecimalFormat. format(Object number, StringBuffer buffer, FieldPosition position)abstract StringBufferFormat. format(Object object, StringBuffer buffer, FieldPosition field)Appends the specified object to the specified string buffer using the rules of this format.StringBufferMessageFormat. format(Object[] objects, StringBuffer buffer, FieldPosition field)Converts the specified objects into a string which it appends to the specified string buffer using the pattern of this message format.StringBufferMessageFormat. format(Object object, StringBuffer buffer, FieldPosition field)Converts the specified objects into a string which it appends to the specified string buffer using the pattern of this message format.abstract StringBufferNumberFormat. format(double value, StringBuffer buffer, FieldPosition field)Formats the specified double value as a string using the pattern of this number format and appends the string to the specified string buffer.abstract StringBufferNumberFormat. format(long value, StringBuffer buffer, FieldPosition field)Formats the specified long value as a string using the pattern of this number format and appends the string to the specified string buffer.StringBufferNumberFormat. format(Object object, StringBuffer buffer, FieldPosition field)Formats a number into a supplied buffer.StringBufferSimpleDateFormat. format(Date date, StringBuffer buffer, FieldPosition fieldPos)Formats the specified date as a string using the pattern of this date format and appends the string to the specified string buffer.Methods in java.text with parameters of type StringBuffer Modifier and Type Method Description StringBufferChoiceFormat. format(double value, StringBuffer buffer, FieldPosition field)Appends the string associated with the range in which the specified double value fits to the specified string buffer.StringBufferChoiceFormat. format(long value, StringBuffer buffer, FieldPosition field)Appends the string associated with the range in which the specified long value fits to the specified string buffer.StringBufferDateFormat. format(Object object, StringBuffer buffer, FieldPosition field)Formats the specified object as a string using the pattern of this date format and appends the string to the specified string buffer.abstract StringBufferDateFormat. format(Date date, StringBuffer buffer, FieldPosition field)Formats the specified date as a string using the pattern of this date format and appends the string to the specified string buffer.StringBufferDecimalFormat. format(double value, StringBuffer buffer, FieldPosition position)StringBufferDecimalFormat. format(long value, StringBuffer buffer, FieldPosition position)StringBufferDecimalFormat. format(Object number, StringBuffer buffer, FieldPosition position)abstract StringBufferFormat. format(Object object, StringBuffer buffer, FieldPosition field)Appends the specified object to the specified string buffer using the rules of this format.StringBufferMessageFormat. format(Object[] objects, StringBuffer buffer, FieldPosition field)Converts the specified objects into a string which it appends to the specified string buffer using the pattern of this message format.StringBufferMessageFormat. format(Object object, StringBuffer buffer, FieldPosition field)Converts the specified objects into a string which it appends to the specified string buffer using the pattern of this message format.abstract StringBufferNumberFormat. format(double value, StringBuffer buffer, FieldPosition field)Formats the specified double value as a string using the pattern of this number format and appends the string to the specified string buffer.abstract StringBufferNumberFormat. format(long value, StringBuffer buffer, FieldPosition field)Formats the specified long value as a string using the pattern of this number format and appends the string to the specified string buffer.StringBufferNumberFormat. format(Object object, StringBuffer buffer, FieldPosition field)Formats a number into a supplied buffer.StringBufferSimpleDateFormat. format(Date date, StringBuffer buffer, FieldPosition fieldPos)Formats the specified date as a string using the pattern of this date format and appends the string to the specified string buffer. -
Uses of StringBuffer in java.util.regex
Methods in java.util.regex that return StringBuffer Modifier and Type Method Description StringBufferMatcher. appendTail(StringBuffer buffer)Appends the (unmatched) remainder of the input to the givenStringBuffer.Methods in java.util.regex with parameters of type StringBuffer Modifier and Type Method Description MatcherMatcher. appendReplacement(StringBuffer buffer, String replacement)Appends a literal part of the input plus a replacement for the current match to a givenStringBuffer.StringBufferMatcher. appendTail(StringBuffer buffer)Appends the (unmatched) remainder of the input to the givenStringBuffer. -
Uses of StringBuffer in org.apache.commons.logging.impl
Methods in org.apache.commons.logging.impl with parameters of type StringBuffer Modifier and Type Method Description protected voidSimpleLog. write(StringBuffer buffer)Write the content of the message accumulated in the specifiedStringBufferto the appropriate output destination. -
Uses of StringBuffer in org.apache.harmony.xml.dom
Fields in org.apache.harmony.xml.dom declared as StringBuffer Modifier and Type Field Description protected StringBufferCharacterDataImpl. buffer -
Uses of StringBuffer in org.apache.xml.utils
Methods in org.apache.xml.utils with parameters of type StringBuffer Modifier and Type Method Description voidFastStringBuffer. append(StringBuffer value)Append the contents of a StringBuffer onto the FastStringBuffer, growing the storage if necessary.static booleanXMLCharacterRecognizer. isWhiteSpace(StringBuffer buf)Tell if the string is whitespace. -
Uses of StringBuffer in org.bouncycastle.asn1.x500.style
Methods in org.bouncycastle.asn1.x500.style with parameters of type StringBuffer Modifier and Type Method Description static voidIETFUtils. appendRDN(StringBuffer buf, RDN rdn, Hashtable oidSymbols)static voidIETFUtils. appendTypeAndValue(StringBuffer buf, AttributeTypeAndValue typeAndValue, Hashtable oidSymbols)