站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ImmutableChars - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.format.parser.chars
Class ImmutableChars

java.lang.Object
  extended byorg.jboss.portal.format.parser.chars.ImmutableChars
All Implemented Interfaces:
Chars

public class ImmutableChars
extends java.lang.Object
implements Chars


Constructor Summary
ImmutableChars(java.lang.String s)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableChars

public ImmutableChars(java.lang.String s)
Method Detail

appendTo

public void appendTo(java.io.Writer writer)
              throws java.io.IOException
Description copied from interface: Chars
Append the chars to a Writer.

Specified by:
appendTo in interface Chars
Throws:
java.io.IOException

getReader

public java.io.Reader getReader()
Description copied from interface: Chars
Get a Reader for the chars.

Specified by:
getReader in interface Chars

length

public int length()
Description copied from interface: Chars
Returns how many chars there are.

Specified by:
length in interface Chars

toString

public java.lang.String toString()
Description copied from interface: Chars
Returns a String made of the chars.

Specified by:
toString in interface Chars