org.pentaho.reporting.engine.classic.core.util
Class MemoryStringReader

java.lang.Object
  extended by java.io.Reader
      extended by org.pentaho.reporting.engine.classic.core.util.MemoryStringReader
All Implemented Interfaces:
Closeable, Readable

public class MemoryStringReader
extends Reader

Todo: Document me!

Date: 14.07.2010 Time: 16:49:46

Author:
Thomas Morgner.

Constructor Summary
MemoryStringReader(char[] backend, int offset, int length)
           
 
Method Summary
 void close()
           
 int read(char[] chars, int offset, int length)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryStringReader

public MemoryStringReader(char[] backend,
                          int offset,
                          int length)
Method Detail

read

public int read(char[] chars,
                int offset,
                int length)
         throws IOException
Specified by:
read in class Reader
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in class Reader
Throws:
IOException