fr.umlv.tatoo.runtime.buffer.impl
Class CachedByteBufferCharacterBuffer

java.lang.Object
  extended by fr.umlv.tatoo.runtime.buffer.impl.AbstractByteBufferCharacterBuffer
      extended by fr.umlv.tatoo.runtime.buffer.impl.CachedByteBufferCharacterBuffer
All Implemented Interfaces:
CharacterBuffer

public class CachedByteBufferCharacterBuffer
extends AbstractByteBufferCharacterBuffer

CachedBufferCharacterBuffer.java Created: Mon Jul 14 14:16:09 2003

Version:
$Revision$
Author:
Gilles Roussel

Field Summary
 
Fields inherited from class fr.umlv.tatoo.runtime.buffer.impl.AbstractByteBufferCharacterBuffer
buffer, channel, position, previousWasNL
 
Constructor Summary
CachedByteBufferCharacterBuffer(int size, StringCache cache)
           
CachedByteBufferCharacterBuffer(int size, StringCache cache, ByteChannel channel)
           
 
Method Summary
 CharSequence extractAndUnwind(int l)
           
 
Methods inherited from class fr.umlv.tatoo.runtime.buffer.impl.AbstractByteBufferCharacterBuffer
clear, compact, hasRemaining, next, position, previousWasNewLine, read, setChannel, unwind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedByteBufferCharacterBuffer

public CachedByteBufferCharacterBuffer(int size,
                                       StringCache cache,
                                       ByteChannel channel)

CachedByteBufferCharacterBuffer

public CachedByteBufferCharacterBuffer(int size,
                                       StringCache cache)
Method Detail

extractAndUnwind

public CharSequence extractAndUnwind(int l)
Specified by:
extractAndUnwind in class AbstractByteBufferCharacterBuffer