Class CVirtualFileAccessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      int read​(byte[] buffer, int offset, int limit)  
      void resize​(int size)  
      void seek​(int target)  
      int size()  
      void skip​(int amount)  
      int tell()  
      void write​(byte[] buffer, int offset, int limit)  
      • Methods inherited from class java.lang.Object

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

      • CVirtualFileAccessor

        public CVirtualFileAccessor​(long file)
    • Method Detail

      • read

        public int read​(byte[] buffer,
                        int offset,
                        int limit)
                 throws java.io.IOException
        Specified by:
        read in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] buffer,
                          int offset,
                          int limit)
                   throws java.io.IOException
        Specified by:
        write in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • tell

        public int tell()
                 throws java.io.IOException
        Specified by:
        tell in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • skip

        public void skip​(int amount)
                  throws java.io.IOException
        Specified by:
        skip in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • seek

        public void seek​(int target)
                  throws java.io.IOException
        Specified by:
        seek in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • size

        public int size()
                 throws java.io.IOException
        Specified by:
        size in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • resize

        public void resize​(int size)
                    throws java.io.IOException
        Specified by:
        resize in interface VirtualFileAccessor
        Throws:
        java.io.IOException
      • close

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

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