java.lang.Object
org.apache.commons.compress.archivers.dump.Dirent

class Dirent extends Object
Directory entry.
  • Field Details

    • ino

      private final int ino
    • parentIno

      private final int parentIno
    • type

      private final int type
    • name

      private final String name
  • Constructor Details

    • Dirent

      Dirent(int ino, int parentIno, int type, String name)
      Constructor
      Parameters:
      ino -
      parentIno -
      type -
      name -
  • Method Details

    • getIno

      int getIno()
      Get ino.
      Returns:
      the i-node
    • getParentIno

      int getParentIno()
      Get ino of parent directory.
      Returns:
      the parent i-node
    • getType

      int getType()
      Get entry type.
      Returns:
      the entry type
    • getName

      String getName()
      Get name of directory entry.

      This method returns the raw name as it is stored inside of the archive.

      Returns:
      the directory name
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: