- java.lang.Object
-
- kala.compress.archivers.dump.Dirent
-
final class Dirent extends java.lang.ObjectDirectory 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) intgetIno()Gets ino.(package private) java.lang.StringgetName()Gets name of directory entry.(package private) intgetParentIno()Gets ino of parent directory.(package private) intgetType()Gets entry type.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-