Class ArchiveEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name  
      protected RAOutputStream output  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveEntry​(java.lang.String name)  
    • Field Detail

      • name

        protected java.lang.String name
    • Constructor Detail

      • ArchiveEntry

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

      • getName

        public java.lang.String getName()
      • setOutputStream

        protected void setOutputStream​(RAOutputStream output)
      • getLength

        public abstract long getLength()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • setLength

        public abstract void setLength​(long length)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • refresh

        public void refresh()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public abstract int read​(long pos,
                                 byte[] b,
                                 int off,
                                 int len)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • write

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

        public abstract void close()
                            throws java.io.IOException
        Throws:
        java.io.IOException