Class ArchiveEntryAdapter

    • Constructor Detail

      • ArchiveEntryAdapter

        public ArchiveEntryAdapter​(java.lang.String name,
                                   ArchiveEntry entry)
    • Method Detail

      • getLength

        public long getLength()
                       throws java.io.IOException
        Specified by:
        getLength in class ArchiveEntry
        Throws:
        java.io.IOException
      • setLength

        public void setLength​(long length)
                       throws java.io.IOException
        Specified by:
        setLength in class ArchiveEntry
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Overrides:
        flush in class ArchiveEntry
        Throws:
        java.io.IOException
      • refresh

        public void refresh()
                     throws java.io.IOException
        Overrides:
        refresh in class ArchiveEntry
        Throws:
        java.io.IOException
      • read

        public int read​(long offset,
                        byte[] b,
                        int off,
                        int size)
                 throws java.io.IOException
        Specified by:
        read in class ArchiveEntry
        Throws:
        java.io.IOException
      • write

        public void write​(long offset,
                          byte[] b,
                          int off,
                          int size)
                   throws java.io.IOException
        Specified by:
        write in class ArchiveEntry
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in class ArchiveEntry
        Throws:
        java.io.IOException