Package | Description |
---|---|
java.io |
Input/Output support
|
java.lang |
Core Java classes
|
Modifier and Type | Method and Description |
---|---|
Writer |
Writer.append(CharSequence cs) |
StringWriter |
StringWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence cs) |
PrintStream |
PrintStream.append(CharSequence cs) |
CharArrayWriter |
CharArrayWriter.append(CharSequence cs)
Appends the specified sequence of Unicode characters to the
output stream underlying this writer.
|
Writer |
Writer.append(CharSequence cs,
int start,
int end) |
StringWriter |
StringWriter.append(CharSequence csq,
int start,
int end)
Appends a subsequence of the specified character sequence to this writer.
|
PrintWriter |
PrintWriter.append(CharSequence cs,
int start,
int end) |
PrintStream |
PrintStream.append(CharSequence cs,
int start,
int end) |
CharArrayWriter |
CharArrayWriter.append(CharSequence cs,
int start,
int end)
Appends the specified subsequence of Unicode characters to the
output stream underlying this writer, starting and ending at the
specified positions within the sequence.
|
Modifier and Type | Class and Description |
---|---|
class |
String
An immutable string of characters.
|
class |
StringBuffer
An expandable string of characters.
|
class |
StringBuilder
An expandable string of characters.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
StringBuilder.subSequence(int start,
int end) |
CharSequence |
StringBuffer.subSequence(int start,
int end) |
CharSequence |
String.subSequence(int start,
int end) |
CharSequence |
CharSequence.subSequence(int begin,
int end)
Returns a new
CharSequence of the indicated range. |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
StringBuilder.append(CharSequence cs) |
StringBuffer |
StringBuffer.append(CharSequence cs) |
Appendable |
Appendable.append(CharSequence seq)
Appends the specified sequence of Unicode characters to this
Appendable object. |
StringBuilder |
StringBuilder.append(CharSequence cs,
int start,
int end) |
StringBuffer |
StringBuffer.append(CharSequence cs,
int start,
int end) |
Appendable |
Appendable.append(CharSequence seq,
int start,
int end)
Appends the specified subsequence of Unicode characters to this
Appendable object, starting and ending at the specified
positions within the sequence. |
int |
Character.codePointAt(CharSequence c,
int index) |
int |
Character.codePointBefore(CharSequence c,
int index) |
boolean |
String.contains(CharSequence s)
Returns true iff this String contains the sequence of Characters
described in s.
|
boolean |
String.contentEquals(CharSequence s) |
Constructor and Description |
---|
StringBuffer(CharSequence seq) |
StringBuilder(CharSequence seq) |