T
- The type of entries in the archive.U
- The type of directory entries in the archive.public interface ArchiveEntry<T extends ArchiveEntry<T,U>,U extends ArchiveDirectoryEntry<T,U>>
extends org.entityfs.Named
Archive
, i.e. a file, a
directory or some other kind of entry.
Entry objects are created when an archive object (e.g. a
ZipFile
or a TarFile
) is created.
Clients never have to create any entry objects.
Entry objects are always immutable.
Modifier and Type | Method and Description |
---|---|
org.entityfs.el.AbsoluteLocation |
getLocation()
Get the location of the entry in the archive.
|
U |
getParent()
Get the parent directory entry for this entry.
|
org.entityfs.el.AbsoluteLocation getLocation()
U getParent()
null
.null
if
this entry is the archive's root directory.