org.codehaus.groovy.grails.web.util
Class StreamCharBuffer.StreamCharBufferReader
java.lang.Object
java.io.Reader
org.codehaus.groovy.grails.web.util.StreamCharBuffer.StreamCharBufferReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
- Enclosing class:
- StreamCharBuffer
public final class StreamCharBuffer.StreamCharBufferReader
- extends java.io.Reader
This is the java.io.Reader implementation for StreamCharBuffer
| Fields inherited from class java.io.Reader |
lock |
| Methods inherited from class java.io.Reader |
mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamCharBuffer.StreamCharBufferReader
public StreamCharBuffer.StreamCharBufferReader(boolean removeAfterReading)
ready
public boolean ready()
throws java.io.IOException
- Overrides:
ready in class java.io.Reader
- Throws:
java.io.IOException
read
public final int read(char[] b,
int off,
int len)
throws java.io.IOException
- Specified by:
read in class java.io.Reader
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Specified by:
close in class java.io.Reader
- Throws:
java.io.IOException
getBuffer
public final StreamCharBuffer getBuffer()
getReadLenLimit
public int getReadLenLimit(int askedAmount)