Uses of Class
java.lang.StringBuffer
Packages that use StringBuffer
Package
Description
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Classes for matching character sequences against patterns specified
by regular expressions.
Provides the default HTML parser, along with support classes.
-
Uses of StringBuffer in java.io
Methods in java.io that return StringBuffer -
Uses of StringBuffer in java.lang
Classes in java.lang that implement interfaces with type arguments of type StringBufferModifier and TypeClassDescriptionfinal classA thread-safe, mutable sequence of characters.Methods in java.lang that return StringBufferModifier and TypeMethodDescriptionStringBuffer.append(boolean b) StringBuffer.append(char c) StringBuffer.append(char[] str) StringBuffer.append(char[] str, int offset, int len) StringBuffer.append(double d) StringBuffer.append(float f) StringBuffer.append(int i) StringBuffer.append(long lng) StringBuffer.append(CharSequence s) Appends the specifiedCharSequenceto this sequence.StringBuffer.append(CharSequence s, int start, int end) StringBuffer.append(StringBuffer sb) Appends the specifiedStringBufferto this sequence.StringBuffer.appendCodePoint(int codePoint) StringBuffer.delete(int start, int end) StringBuffer.deleteCharAt(int index) StringBuffer.insert(int offset, boolean b) StringBuffer.insert(int offset, char c) StringBuffer.insert(int offset, char[] str) StringBuffer.insert(int index, char[] str, int offset, int len) StringBuffer.insert(int offset, double d) StringBuffer.insert(int offset, float f) StringBuffer.insert(int offset, int i) StringBuffer.insert(int offset, long l) StringBuffer.insert(int dstOffset, CharSequence s) StringBuffer.insert(int dstOffset, CharSequence s, int start, int end) StringBuffer.repeat(int codePoint, int count) StringBuffer.repeat(CharSequence cs, int count) StringBuffer.reverse()Methods in java.lang with parameters of type StringBufferModifier and TypeMethodDescriptionStringBuffer.append(StringBuffer sb) Appends the specifiedStringBufferto this sequence.StringBuilder.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 StringBufferModifierConstructorDescriptionString(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 StringBufferModifier and TypeMethodDescriptionChoiceFormat.format(double number, StringBuffer toAppendTo, FieldPosition status) Returns pattern with formatted double.ChoiceFormat.format(long number, StringBuffer toAppendTo, FieldPosition status) Specialization of format.CompactNumberFormat.format(double number, StringBuffer result, FieldPosition fieldPosition) Formats a double to produce a string representing its compact form.CompactNumberFormat.format(long number, StringBuffer result, FieldPosition fieldPosition) Formats a long to produce a string representing its compact form.final StringBufferCompactNumberFormat.format(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition) Formats a number to produce a string representing its compact form.final 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.DecimalFormat.format(double number, StringBuffer result, FieldPosition fieldPosition) Formats a double to produce a string.DecimalFormat.format(long number, StringBuffer result, FieldPosition fieldPosition) Format a long to produce a string.final 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.ListFormat.format(Object obj, StringBuffer toAppendTo, FieldPosition pos) Formats an object and appends the resulting text to a given string buffer.final 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.final 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.NumberFormat.format(Object number, StringBuffer toAppendTo, FieldPosition pos) Formats a number and appends the resulting text to the given string buffer.SimpleDateFormat.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 StringBufferModifier and TypeMethodDescriptionChoiceFormat.format(double number, StringBuffer toAppendTo, FieldPosition status) Returns pattern with formatted double.ChoiceFormat.format(long number, StringBuffer toAppendTo, FieldPosition status) Specialization of format.CompactNumberFormat.format(double number, StringBuffer result, FieldPosition fieldPosition) Formats a double to produce a string representing its compact form.CompactNumberFormat.format(long number, StringBuffer result, FieldPosition fieldPosition) Formats a long to produce a string representing its compact form.final StringBufferCompactNumberFormat.format(Object number, StringBuffer toAppendTo, FieldPosition fieldPosition) Formats a number to produce a string representing its compact form.final 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.DecimalFormat.format(double number, StringBuffer result, FieldPosition fieldPosition) Formats a double to produce a string.DecimalFormat.format(long number, StringBuffer result, FieldPosition fieldPosition) Format a long to produce a string.final 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.ListFormat.format(Object obj, StringBuffer toAppendTo, FieldPosition pos) Formats an object and appends the resulting text to a given string buffer.final 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.final 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.NumberFormat.format(Object number, StringBuffer toAppendTo, FieldPosition pos) Formats a number and appends the resulting text to the given string buffer.SimpleDateFormat.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 StringBufferModifier and TypeMethodDescriptionMatcher.appendTail(StringBuffer sb) Implements a terminal append-and-replace step.Methods in java.util.regex with parameters of type StringBufferModifier and TypeMethodDescriptionMatcher.appendReplacement(StringBuffer sb, String replacement) Implements a non-terminal append-and-replace step.Matcher.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 StringBufferModifier and TypeMethodDescriptionprotected booleanParser.parseMarkupDeclarations(StringBuffer strBuff) Parse markup declarations.