org.codehaus.groovy.grails.web.util
Class StreamCharBuffer.AllocatedBufferReader
java.lang.Object
org.codehaus.groovy.grails.web.util.StreamCharBuffer.ChunkReader
org.codehaus.groovy.grails.web.util.StreamCharBuffer.AllocatedBufferReader
- Enclosing class:
- StreamCharBuffer
final class StreamCharBuffer.AllocatedBufferReader
- extends StreamCharBuffer.ChunkReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
StreamCharBuffer.AllocatedBuffer parent
position
int position
writerUsedCounter
int writerUsedCounter
removeAfterReading
boolean removeAfterReading
StreamCharBuffer.AllocatedBufferReader
public StreamCharBuffer.AllocatedBufferReader(StreamCharBuffer.AllocatedBuffer parent,
boolean removeAfterReading)
getReadLenLimit
public int getReadLenLimit(int askedAmount)
- Specified by:
getReadLenLimit
in class StreamCharBuffer.ChunkReader
read
public int read(char[] ch,
int off,
int len)
throws IOException
- Specified by:
read
in class StreamCharBuffer.ChunkReader
- Throws:
IOException
next
public StreamCharBuffer.ChunkReader next()
- Specified by:
next
in class StreamCharBuffer.ChunkReader
getWriterUsedCounter
public int getWriterUsedCounter()
- Specified by:
getWriterUsedCounter
in class StreamCharBuffer.ChunkReader
isValid
public boolean isValid()
- Specified by:
isValid
in class StreamCharBuffer.ChunkReader
Copyright (c) 2005-2009 The Grails project