Package org.grails.buffer
Class StreamCharBuffer.StreamCharBufferReader
- java.lang.Object
-
- java.io.Reader
-
- org.grails.buffer.StreamCharBuffer.StreamCharBufferReader
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Readable
- Enclosing class:
- StreamCharBuffer
public final class StreamCharBuffer.StreamCharBufferReader extends java.io.ReaderThis is the java.io.Reader implementation for StreamCharBuffer
-
-
Constructor Summary
Constructors Constructor Description StreamCharBufferReader(boolean remove)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StreamCharBuffergetBuffer()intgetReadLenLimit(int askedAmount)intread(char[] b, int off, int len)booleanready()
-
-
-
Method Detail
-
ready
public boolean ready() throws java.io.IOException- Overrides:
readyin classjava.io.Reader- Throws:
java.io.IOException
-
read
public final int read(char[] b, int off, int len) throws java.io.IOException- Specified by:
readin classjava.io.Reader- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.io.Reader- Throws:
java.io.IOException
-
getBuffer
public final StreamCharBuffer getBuffer()
-
getReadLenLimit
public int getReadLenLimit(int askedAmount)
-
-