org.jboss.portal.format.parser.chars
Interface Chars

All Known Implementing Classes:
ImmutableChars, MutableChars

public interface Chars

An ordered collection of char.

Version:
$Revision: 8784 $
Author:
Julien Viet

Method Summary
 void appendTo(java.io.Writer writer)
          Append the chars to a Writer.
 java.io.Reader getReader()
          Get a Reader for the chars.
 int length()
          Returns how many chars there are.
 java.lang.String toString()
          Returns a String made of the chars.
 

Method Detail

appendTo

void appendTo(java.io.Writer writer)
              throws java.io.IOException
Append the chars to a Writer.

Throws:
java.io.IOException

getReader

java.io.Reader getReader()
Get a Reader for the chars.


length

int length()
Returns how many chars there are.


toString

java.lang.String toString()
Returns a String made of the chars.

Overrides:
toString in class java.lang.Object