Top Description Fields Constructors Methods
org.apache.commons.compress.archivers.dump

pack-priv final Class Dirent

extends Object
Class Inheritance

Directory entry.

Field Summary

Modifier and TypeField and Description
private final int
private final String
private final int
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
Dirent(final int ino, final int parentIno, final int type, final String name)

Constructor

Method Summary

Modifier and TypeMethod and Description
pack-priv int

Returns:

the i-node
getIno
()

Gets ino.

pack-priv String

Returns:

the directory name
getName
()

Gets name of directory entry.

pack-priv int

Returns:

the parent i-node
getParentIno
()

Gets ino of parent directory.

pack-priv int

Returns:

the entry type
getType
()

Gets entry type.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

inoback to summary
private final int ino
nameback to summary
private final String name
parentInoback to summary
private final int parentIno
typeback to summary
private final int type

Constructor Detail

Direntback to summary
pack-priv Dirent(final int ino, final int parentIno, final int type, final String name)

Constructor

Method Detail

getInoback to summary
pack-priv int getIno()

Gets ino.

Returns:int

the i-node

getNameback to summary
pack-priv String getName()

Gets name of directory entry.

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

Returns:String

the directory name

getParentInoback to summary
pack-priv int getParentIno()

Gets ino of parent directory.

Returns:int

the parent i-node

getTypeback to summary
pack-priv int getType()

Gets entry type.

Returns:int

the entry type

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
See Also
Object#toString()