Class FileListBlock


  • public class FileListBlock
    extends Block
    • Field Detail

      • offset

        protected int offset
      • prevPath

        protected String prevPath
      • paths

        protected String[] paths
    • Constructor Detail

      • FileListBlock

        public FileListBlock​(int blockSize)
    • Method Detail

      • addFile

        public boolean addFile​(IndexedFile indexedFile)
        add the name of the indexedfile to the buffr of the field. The name is not the entire name of the indexedfile, but the difference between its name and the name of the previous indexedfile ...
      • getPaths

        protected String[] getPaths()
                             throws IOException
        Creates a vector of paths reading the buffer of the field.
        Throws:
        IOException
      • isEmpty

        public boolean isEmpty()
      • reset

        public void reset()