Class Dirent
- java.lang.Object
-
- org.apache.commons.compress.archivers.dump.Dirent
-
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()
Get ino.(package private) java.lang.String
getName()
Get name of directory entry.(package private) int
getParentIno()
Get ino of parent directory.(package private) int
getType()
Get entry type.java.lang.String
toString()
-
-
-
Method Detail
-
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
java.lang.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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-