FileDocCategorySizeDatePackage
SpannedString.javaAPI DocAndroid 1.5 API1502Wed May 06 22:41:56 BST 2009android.text

SpannedString

public final class SpannedString extends SpannableStringInternal implements CharSequence, GetChars, Spanned
This is the class for text whose content and markup are immutable. For mutable markup, see {@link SpannableString}; for mutable text, see {@link SpannableStringBuilder}.

Fields Summary
Constructors Summary
public SpannedString(CharSequence source)

        super(source, 0, source.length());
    
private SpannedString(CharSequence source, int start, int end)

        super(source, start, end);
    
Methods Summary
public java.lang.CharSequencesubSequence(int start, int end)

        return new SpannedString(this, start, end);
    
public static android.text.SpannedStringvalueOf(java.lang.CharSequence source)

        if (source instanceof SpannedString) {
            return (SpannedString) source;
        } else {
            return new SpannedString(source);
        }