Package | Description |
---|---|
java.io |
Input/Output support
|
java.lang |
Core Java classes
|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringWriter.getBuffer()
Return the string buffer itself.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
StringBuffer.append(boolean aBoolean) |
StringBuffer |
StringBuffer.append(char aChar) |
StringBuffer |
StringBuffer.append(char[] c) |
StringBuffer |
StringBuffer.append(char[] c,
int off,
int len) |
StringBuffer |
StringBuffer.append(CharSequence cs) |
StringBuffer |
StringBuffer.append(CharSequence cs,
int start,
int end) |
StringBuffer |
StringBuffer.append(double aDouble) |
StringBuffer |
StringBuffer.append(float aFloat) |
StringBuffer |
StringBuffer.append(int i) |
StringBuffer |
StringBuffer.append(long aLong) |
StringBuffer |
StringBuffer.append(Object aObject) |
StringBuffer |
StringBuffer.append(String s) |
StringBuffer |
StringBuffer.append(StringBuffer sb) |
StringBuffer |
StringBuffer.appendCodePoint(int cp) |
StringBuffer |
StringBuffer.delete(int start,
int end) |
StringBuffer |
StringBuffer.deleteCharAt(int index) |
StringBuffer |
StringBuffer.insert(int offset,
char[] data)
Insert the
char[] argument into this
StringBuffer . |
StringBuffer |
StringBuffer.insert(int offset,
char[] str,
int str_offset,
int len)
Insert a subarray of the
char[] argument into this
StringBuffer . |
StringBuffer |
StringBuffer.insert(int offset,
Object obj)
Insert the
String value of the argument into this
StringBuffer . |
StringBuffer |
StringBuffer.insert(int offset,
String str)
Insert the
String argument into this
StringBuffer . |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str)
Replace characters between index
start (inclusive) and
end (exclusive) with str . |
StringBuffer |
StringBuffer.reverse()
Reverse the characters in this StringBuffer.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
StringBuilder.append(StringBuffer sb) |
StringBuffer |
StringBuffer.append(StringBuffer sb) |
boolean |
String.contentEquals(StringBuffer sb) |
Constructor and Description |
---|
String(StringBuffer sb) |
Modifier and Type | Method and Description |
---|---|
abstract StringBuffer |
NumberFormat.format(double number,
StringBuffer toAppendTo,
FieldPosition pos)
Specialization of format.
|
StringBuffer |
DecimalFormat.format(double number,
StringBuffer result,
FieldPosition fieldPosition)
Formats a double to produce a string.
|
abstract StringBuffer |
NumberFormat.format(long number,
StringBuffer toAppendTo,
FieldPosition pos)
Specialization of format.
|
StringBuffer |
DecimalFormat.format(long number,
StringBuffer result,
FieldPosition fieldPosition)
Format a long to produce a string.
|
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
abstract StringBuffer |
Format.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the resulting text to a given string
buffer.
|
StringBuffer |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
Modifier and Type | Method and Description |
---|---|
abstract StringBuffer |
NumberFormat.format(double number,
StringBuffer toAppendTo,
FieldPosition pos)
Specialization of format.
|
StringBuffer |
DecimalFormat.format(double number,
StringBuffer result,
FieldPosition fieldPosition)
Formats a double to produce a string.
|
abstract StringBuffer |
NumberFormat.format(long number,
StringBuffer toAppendTo,
FieldPosition pos)
Specialization of format.
|
StringBuffer |
DecimalFormat.format(long number,
StringBuffer result,
FieldPosition fieldPosition)
Format a long to produce a string.
|
StringBuffer |
NumberFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|
abstract StringBuffer |
Format.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the resulting text to a given string
buffer.
|
StringBuffer |
DecimalFormat.format(Object number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats a number and appends the resulting text to the given string
buffer.
|