com.imagero.uio.buffer
Class RABuffer

java.lang.Object
  extended bycom.imagero.uio.buffer.RABufferRO
      extended bycom.imagero.uio.buffer.RABuffer
All Implemented Interfaces:
Buffer, MutableBuffer

public class RABuffer
extends RABufferRO
implements MutableBuffer

Implementation of Buffer for RandomAccess.


Constructor Summary
RABuffer(RandomAccess ra, long offset, int length)
           
 
Method Summary
 void flush()
           
 boolean isDirty()
           
 void setDirty()
           
 
Methods inherited from class com.imagero.uio.buffer.RABufferRO
getData, getData, length
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.imagero.uio.buffer.Buffer
getData, getData, length
 

Constructor Detail

RABuffer

public RABuffer(RandomAccess ra,
                long offset,
                int length)
Method Detail

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface MutableBuffer
Throws:
java.io.IOException

isDirty

public boolean isDirty()
Specified by:
isDirty in interface Buffer
Overrides:
isDirty in class RABufferRO

setDirty

public void setDirty()
Specified by:
setDirty in interface MutableBuffer