Class RAStreamBufferMgr


  • public class RAStreamBufferMgr
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RAStreamBufferMgr​(java.io.RandomAccessFile randomFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flushBuffer()  
      long getFilePointer()  
      long length()  
      void seek​(long localPos)  
      void write​(byte[] b, int off, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RAStreamBufferMgr

        public RAStreamBufferMgr​(java.io.RandomAccessFile randomFile)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getFilePointer

        public long getFilePointer()
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • seek

        public void seek​(long localPos)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • length

        public long length()
      • flushBuffer

        public void flushBuffer()
                         throws java.io.IOException
        Throws:
        java.io.IOException