Class MemoryStringReader
- java.lang.Object
-
- java.io.Reader
-
- org.pentaho.reporting.libraries.base.util.MemoryStringReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
public class MemoryStringReader extends Reader
-
-
Constructor Summary
Constructors Constructor Description MemoryStringReader(char[] backend, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read(char[] chars, int offset, int length)
-
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, read, ready, reset, skip, transferTo
-
-
-
-
Method Detail
-
read
public int read(char[] chars, int offset, int length) throws IOException
- Specified by:
read
in classReader
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-
-