| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CharSequence | |
|---|---|
| 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.nio | Defines buffers, which are containers for data, and provides an overview of the other NIO packages. | 
| java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. | 
| java.util.regex | Classes for matching character sequences against patterns specified by regular expressions. | 
| Uses of CharSequence in java.io | 
|---|
| Methods in java.io with parameters of type CharSequence | |
|---|---|
 StringWriter | 
StringWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.  | 
 CharArrayWriter | 
CharArrayWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.  | 
 Writer | 
Writer.append(CharSequence csq)
Appends the specified character sequence to this writer.  | 
 PrintWriter | 
PrintWriter.append(CharSequence csq)
Appends the specified character sequence to this writer.  | 
 PrintStream | 
PrintStream.append(CharSequence csq)
Appends the specified character sequence to this output stream.  | 
 StringWriter | 
StringWriter.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this writer.  | 
 CharArrayWriter | 
CharArrayWriter.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this writer.  | 
 Writer | 
Writer.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this writer.  | 
 PrintWriter | 
PrintWriter.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this writer.  | 
 PrintStream | 
PrintStream.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this output stream.  | 
| Uses of CharSequence in java.lang | 
|---|
| Classes in java.lang that implement CharSequence | |
|---|---|
 class | 
String
The String class represents character strings. | 
 class | 
StringBuffer
A thread-safe, mutable sequence of characters.  | 
 class | 
StringBuilder
A mutable sequence of characters.  | 
| Methods in java.lang that return CharSequence | |
|---|---|
 CharSequence | 
StringBuffer.subSequence(int start,
            int end)
 | 
 CharSequence | 
CharSequence.subSequence(int start,
            int end)
Returns a new CharSequence that is a subsequence of this sequence. | 
 CharSequence | 
String.subSequence(int beginIndex,
            int endIndex)
Returns a new character sequence that is a subsequence of this sequence.  | 
| Methods in java.lang with parameters of type CharSequence | |
|---|---|
 StringBuilder | 
StringBuilder.append(CharSequence s)
 | 
 StringBuffer | 
StringBuffer.append(CharSequence s)
Appends the specified CharSequence to this
 sequence. | 
 Appendable | 
Appendable.append(CharSequence csq)
Appends the specified character sequence to this Appendable.  | 
 StringBuilder | 
StringBuilder.append(CharSequence s,
       int start,
       int end)
 | 
 StringBuffer | 
StringBuffer.append(CharSequence s,
       int start,
       int end)
 | 
 Appendable | 
Appendable.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this Appendable.  | 
static int | 
Character.codePointAt(CharSequence seq,
            int index)
Returns the code point at the given index of the CharSequence. | 
static int | 
Character.codePointBefore(CharSequence seq,
                int index)
Returns the code point preceding the given index of the CharSequence. | 
static int | 
Character.codePointCount(CharSequence seq,
               int beginIndex,
               int endIndex)
Returns the number of Unicode code points in the text range of the specified char sequence.  | 
 boolean | 
String.contains(CharSequence s)
Returns true if and only if this string contains the specified sequence of char values.  | 
 boolean | 
String.contentEquals(CharSequence cs)
Returns true if and only if this String represents the same sequence of char values as the specified sequence.  | 
 StringBuilder | 
StringBuilder.insert(int dstOffset,
       CharSequence s)
 | 
 StringBuffer | 
StringBuffer.insert(int dstOffset,
       CharSequence s)
 | 
 StringBuilder | 
StringBuilder.insert(int dstOffset,
       CharSequence s,
       int start,
       int end)
 | 
 StringBuffer | 
StringBuffer.insert(int dstOffset,
       CharSequence s,
       int start,
       int end)
 | 
static int | 
Character.offsetByCodePoints(CharSequence seq,
                   int index,
                   int codePointOffset)
Returns the index within the given char sequence that is offset from the given index by codePointOffset
 code points. | 
 String | 
String.replace(CharSequence target,
        CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.  | 
| Constructors in java.lang with parameters of type CharSequence | |
|---|---|
StringBuffer(CharSequence seq)
Constructs a string buffer that contains the same characters as the specified CharSequence. | 
|
StringBuilder(CharSequence seq)
Constructs a string builder that contains the same characters as the specified CharSequence. | 
|
| Uses of CharSequence in java.nio | 
|---|
| Classes in java.nio that implement CharSequence | |
|---|---|
 class | 
CharBuffer
A character buffer.  | 
| Methods in java.nio that return CharSequence | |
|---|---|
abstract  CharSequence | 
CharBuffer.subSequence(int start,
            int end)
Creates a new character buffer that represents the specified subsequence of this buffer, relative to the current position.  | 
| Methods in java.nio with parameters of type CharSequence | |
|---|---|
 CharBuffer | 
CharBuffer.append(CharSequence csq)
Appends the specified character sequence to this buffer (optional operation).  | 
 CharBuffer | 
CharBuffer.append(CharSequence csq,
       int start,
       int end)
Appends a subsequence of the specified character sequence to this buffer (optional operation).  | 
static CharBuffer | 
CharBuffer.wrap(CharSequence csq)
Wraps a string into a buffer.  | 
static CharBuffer | 
CharBuffer.wrap(CharSequence csq,
     int start,
     int end)
Wraps a character sequence into a buffer.  | 
| Uses of CharSequence in java.nio.charset | 
|---|
| Methods in java.nio.charset with parameters of type CharSequence | |
|---|---|
 boolean | 
CharsetEncoder.canEncode(CharSequence cs)
Tells whether or not this encoder can encode the given character sequence.  | 
| Uses of CharSequence in java.util.regex | 
|---|
| Methods in java.util.regex with parameters of type CharSequence | |
|---|---|
 Matcher | 
Pattern.matcher(CharSequence input)
Creates a matcher that will match the given input against this pattern.  | 
static boolean | 
Pattern.matches(String regex,
        CharSequence input)
Compiles the given regular expression and attempts to match the given input against it.  | 
 Matcher | 
Matcher.reset(CharSequence input)
Resets this matcher with a new input sequence.  | 
 String[] | 
Pattern.split(CharSequence input)
Splits the given input sequence around matches of this pattern.  | 
 String[] | 
Pattern.split(CharSequence input,
      int limit)
Splits the given input sequence around matches of this pattern.  | 
  | 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.