Uses of Class
java.lang.StringBuffer
| Package | Description |
|---|---|
| java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
| java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
| java.text |
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
|
| java.util.regex |
Classes for matching character sequences against patterns specified
by regular expressions.
|
| javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
-
Uses of StringBuffer in java.io
Methods in java.io that return StringBuffer Modifier and Type Method Description StringBufferStringWriter. getBuffer()Return the string buffer itself. -
Uses of StringBuffer in java.lang
Methods in java.lang that return StringBuffer Modifier and Type Method Description StringBufferStringBuffer. append(boolean b)StringBufferStringBuffer. append(char c)StringBufferStringBuffer. append(char[] str)StringBufferStringBuffer. append(char[] str, int offset, int len)StringBufferStringBuffer. append(double d)StringBufferStringBuffer. append(float f)StringBufferStringBuffer. append(int i)StringBufferStringBuffer. append(long lng)StringBufferStringBuffer. append(CharSequence s)Appends the specifiedCharSequenceto this sequence.StringBufferStringBuffer. append(CharSequence s, int start, int end)StringBufferStringBuffer. append(Object obj)StringBufferStringBuffer. append(String str)StringBufferStringBuffer. append(StringBuffer sb)Appends the specifiedStringBufferto this sequence.StringBufferStringBuffer. appendCodePoint(int codePoint)StringBufferStringBuffer. delete(int start, int end)StringBufferStringBuffer. deleteCharAt(int index)StringBufferStringBuffer. insert(int offset, boolean b)StringBufferStringBuffer. insert(int offset, char c)StringBufferStringBuffer. insert(int offset, char[] str)StringBufferStringBuffer. insert(int index, char[] str, int offset, int len)StringBufferStringBuffer. insert(int offset, double d)StringBufferStringBuffer. insert(int offset, float f)StringBufferStringBuffer. insert(int offset, int i)StringBufferStringBuffer. insert(int offset, long l)StringBufferStringBuffer. insert(int dstOffset, CharSequence s)StringBufferStringBuffer. insert(int dstOffset, CharSequence s, int start, int end)StringBufferStringBuffer. insert(int offset, Object obj)StringBufferStringBuffer. insert(int offset, String str)StringBufferStringBuffer. replace(int start, int end, String str)StringBufferStringBuffer. reverse()Methods in java.lang with parameters of type StringBuffer Modifier and Type Method Description StringBufferStringBuffer. append(StringBuffer sb)Appends the specifiedStringBufferto this sequence.StringBuilderStringBuilder. append(StringBuffer sb)Appends the specifiedStringBufferto this sequence.intStringBuffer. compareTo(StringBuffer another)Compares twoStringBufferinstances lexicographically.booleanString. contentEquals(StringBuffer sb)Compares this string to the specifiedStringBuffer.Constructors in java.lang with parameters of type StringBuffer Constructor Description String(StringBuffer buffer)Allocates a new string that contains the sequence of characters currently contained in the string buffer argument. -
Uses of StringBuffer in java.text
Methods in java.text that return StringBuffer Modifier and Type Method Description StringBufferChoiceFormat. format(double number, StringBuffer toAppendTo, FieldPosition status)Returns pattern with formatted double.StringBufferChoiceFormat. format(long number, StringBuffer toAppendTo, FieldPosition status)Specialization of format.StringBufferCompactNumberFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string representing its compact form.StringBufferCompactNumberFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Formats a long to produce a string representing its compact form.StringBufferCompactNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats a number to produce a string representing its compact form.StringBufferDateFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats the givenObjectinto a date-time string.abstract StringBufferDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats aDateinto a date-time string.StringBufferDecimalFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string.StringBufferDecimalFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Format a long to produce a string.StringBufferDecimalFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.abstract StringBufferFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition pos)Formats an object and appends the resulting text to a given string buffer.StringBufferMessageFormat. format(Object[] arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.StringBufferMessageFormat. format(Object arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.abstract StringBufferNumberFormat. format(double number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.abstract StringBufferNumberFormat. format(long number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.StringBufferNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.StringBufferSimpleDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition pos)Formats the givenDateinto a date/time string and appends the result to the givenStringBuffer.Methods in java.text with parameters of type StringBuffer Modifier and Type Method Description StringBufferChoiceFormat. format(double number, StringBuffer toAppendTo, FieldPosition status)Returns pattern with formatted double.StringBufferChoiceFormat. format(long number, StringBuffer toAppendTo, FieldPosition status)Specialization of format.StringBufferCompactNumberFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string representing its compact form.StringBufferCompactNumberFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Formats a long to produce a string representing its compact form.StringBufferCompactNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats a number to produce a string representing its compact form.StringBufferDateFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats the givenObjectinto a date-time string.abstract StringBufferDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)Formats aDateinto a date-time string.StringBufferDecimalFormat. format(double number, StringBuffer result, FieldPosition fieldPosition)Formats a double to produce a string.StringBufferDecimalFormat. format(long number, StringBuffer result, FieldPosition fieldPosition)Format a long to produce a string.StringBufferDecimalFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.abstract StringBufferFormat. format(Object obj, StringBuffer toAppendTo, FieldPosition pos)Formats an object and appends the resulting text to a given string buffer.StringBufferMessageFormat. format(Object[] arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.StringBufferMessageFormat. format(Object arguments, StringBuffer result, FieldPosition pos)Formats an array of objects and appends theMessageFormat's pattern, with format elements replaced by the formatted objects, to the providedStringBuffer.abstract StringBufferNumberFormat. format(double number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.abstract StringBufferNumberFormat. format(long number, StringBuffer toAppendTo, FieldPosition pos)Specialization of format.StringBufferNumberFormat. format(Object number, StringBuffer toAppendTo, FieldPosition pos)Formats a number and appends the resulting text to the given string buffer.StringBufferSimpleDateFormat. format(Date date, StringBuffer toAppendTo, FieldPosition pos)Formats the givenDateinto a date/time string and appends the result to the givenStringBuffer. -
Uses of StringBuffer in java.util.regex
Methods in java.util.regex that return StringBuffer Modifier and Type Method Description StringBufferMatcher. appendTail(StringBuffer sb)Implements a terminal append-and-replace step.Methods in java.util.regex with parameters of type StringBuffer Modifier and Type Method Description MatcherMatcher. appendReplacement(StringBuffer sb, String replacement)Implements a non-terminal append-and-replace step.StringBufferMatcher. appendTail(StringBuffer sb)Implements a terminal append-and-replace step. -
Uses of StringBuffer in javax.swing.text.html.parser
Methods in javax.swing.text.html.parser with parameters of type StringBuffer Modifier and Type Method Description protected booleanParser. parseMarkupDeclarations(StringBuffer strBuff)Parse markup declarations.