Class Dirent
java.lang.Object
org.apache.commons.compress.archivers.dump.Dirent
Directory entry.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ino
private final int ino -
parentIno
private final int parentIno -
type
private final int type -
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
-