Class ArchiveAdapter.Entry

  • Enclosing interface:
    ArchiveAdapter

    public static final class ArchiveAdapter.Entry
    extends Object
    Definition of an archive entry
    • Field Detail

      • name

        public final String name
      • size

        public final long size
    • Constructor Detail

      • Entry

        public Entry​(String name,
                     long size,
                     boolean isDirectory)
        Deprecated.
        Use the other constructor, isDirectory is not used
        creates a new archive entry
        Parameters:
        name - the entry name
        size - the entry size
        isDirectory - true if this entry is a directory
      • Entry

        public Entry​(String name,
                     long size)
        creates a new archive entry
        Parameters:
        name - the entry name
        size - the entry size