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:
- Closeable, Readable
- Enclosing class:
- StreamCharBuffer
public final class StreamCharBuffer.StreamCharBufferReader
- extends Reader
This is the java.io.Reader implementation for StreamCharBuffer
- Author:
- Lari Hotari, Sagire Software Oy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eofException
boolean eofException
eofReachedCounter
int eofReachedCounter
chunkReader
StreamCharBuffer.ChunkReader chunkReader
lastChunkReader
StreamCharBuffer.ChunkReader lastChunkReader
removeAfterReading
boolean removeAfterReading
StreamCharBuffer.StreamCharBufferReader
public StreamCharBuffer.StreamCharBufferReader(boolean removeAfterReading)
ready
public boolean ready()
throws IOException
- Overrides:
ready
in class Reader
- Throws:
IOException
read
public final int read(char[] b,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
readImpl
final int readImpl(char[] b,
int off,
int len)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
getBuffer
public final StreamCharBuffer getBuffer()
getReadLenLimit
public int getReadLenLimit(int askedAmount)
Copyright (c) 2005-2009 The Grails project