Class FolderArchiveFile

  • All Implemented Interfaces:
    IArchiveFile

    public class FolderArchiveFile
    extends java.lang.Object
    implements IArchiveFile
    • Field Detail

      • folderName

        protected java.lang.String folderName
      • systemId

        protected java.lang.String systemId
      • dependId

        protected java.lang.String dependId
      • properties

        protected java.util.Map<java.lang.String,​java.lang.String> properties
    • Constructor Detail

      • FolderArchiveFile

        public FolderArchiveFile​(java.lang.String name)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface IArchiveFile
      • close

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

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

        public void refresh()
                     throws java.io.IOException
        Specified by:
        refresh in interface IArchiveFile
        Throws:
        java.io.IOException
      • exists

        public boolean exists​(java.lang.String name)
        Specified by:
        exists in interface IArchiveFile
      • openEntry

        public ArchiveEntry openEntry​(java.lang.String name)
                               throws java.io.IOException
        Specified by:
        openEntry in interface IArchiveFile
        Throws:
        java.io.IOException
      • listEntries

        public java.util.List<java.lang.String> listEntries​(java.lang.String namePattern)
        Specified by:
        listEntries in interface IArchiveFile
      • createEntry

        public ArchiveEntry createEntry​(java.lang.String name)
                                 throws java.io.IOException
        Specified by:
        createEntry in interface IArchiveFile
        Throws:
        java.io.IOException
      • removeEntry

        public boolean removeEntry​(java.lang.String name)
                            throws java.io.IOException
        Specified by:
        removeEntry in interface IArchiveFile
        Throws:
        java.io.IOException
      • lockEntry

        public java.lang.Object lockEntry​(java.lang.String entry)
                                   throws java.io.IOException
        Specified by:
        lockEntry in interface IArchiveFile
        Throws:
        java.io.IOException
      • unlockEntry

        public void unlockEntry​(java.lang.Object locker)
                         throws java.io.IOException
        Specified by:
        unlockEntry in interface IArchiveFile
        Throws:
        java.io.IOException
      • setSystemId

        public void setSystemId​(java.lang.String systemId)
      • setDependId

        public void setDependId​(java.lang.String dependId)
      • save

        public void save()
                  throws java.io.IOException
        Specified by:
        save in interface IArchiveFile
        Throws:
        java.io.IOException