Class ArchiveAdapter.Entry

  • Enclosing interface:
    ArchiveAdapter

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

      Fields 
      Modifier and Type Field Description
      java.lang.String name  
      long size  
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.String name, long size)
      creates a new archive entry
      Entry​(java.lang.String name, long size, boolean isDirectory)
      Deprecated.
      Use the other constructor, isDirectory is not used
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        public final java.lang.String name
      • size

        public final long size
    • Constructor Detail

      • Entry

        public Entry​(java.lang.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​(java.lang.String name,
                     long size)
        creates a new archive entry
        Parameters:
        name - the entry name
        size - the entry size