|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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>>
This interface defines a generic entry in an 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.
Method Summary | |
---|---|
AbsoluteLocation |
getLocation()
Get the location of the entry in the archive. |
U |
getParent()
Get the parent directory entry for this entry. |
Methods inherited from interface org.entityfs.Named |
---|
getName |
Methods inherited from interface org.entityfs.lock.ReadLockable |
---|
getReadLock, isReadLockedByCurrentThread, lockForReading |
Method Detail |
---|
AbsoluteLocation getLocation()
U getParent()
null
.
null
if
this entry is the archive's root directory.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |