Class Dirent
- java.lang.Object
-
- org.apache.commons.compress.archivers.dump.Dirent
-
final class Dirent extends java.lang.Object
Directory entry.
-
-
Constructor Summary
Constructors Constructor Description Dirent(int ino, int parentIno, int type, java.lang.String name)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getIno()
Gets ino.(package private) java.lang.String
getName()
Gets name of directory entry.(package private) int
getParentIno()
Gets ino of parent directory.(package private) int
getType()
Gets entry type.java.lang.String
toString()
-
-
-
Method Detail
-
getIno
int getIno()
Gets ino.- Returns:
- the i-node
-
getName
java.lang.String getName()
Gets name of directory entry.This method returns the raw name as it is stored inside of the archive.
- Returns:
- the directory name
-
getParentIno
int getParentIno()
Gets ino of parent directory.- Returns:
- the parent i-node
-
getType
int getType()
Gets entry type.- Returns:
- the entry type
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-