public class TarDirectoryEntry extends TarEntry implements ArchiveDirectoryEntry<TarEntry,TarDirectoryEntry>
Tar entry objects are always immutable.
TarFileEntry,
TarSymbolicLinkEntry| Modifier and Type | Method and Description |
|---|---|
Map<String,TarEntry> |
getChildEntries()
Get a read only map containing this directory entry's child entries,
keyed under their (file) names.
|
protected org.entityfs.entityattrs.unix.UnixEntityMode |
getDefaultEntityMode()
Subclasses implement this to return the default Unix entity mode if none
is set in the Tar file.
|
boolean |
isEmpty()
Is this directory entry empty? (I.e: does it not contain any child
entries?)
|
getChecksum, getEntityMode, getLastModificationTime, getOwnerGid, getOwnerUidgetCollaborator, getLocation, getName, getParent, getReadLock, isReadLockedByCurrentThread, lockForReadingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocation, getParentprotected org.entityfs.entityattrs.unix.UnixEntityMode getDefaultEntityMode()
TarEntrygetDefaultEntityMode in class TarEntrypublic Map<String,TarEntry> getChildEntries()
getChildEntries in interface ArchiveDirectoryEntry<TarEntry,TarDirectoryEntry>null.public boolean isEmpty()
ArchiveDirectoryEntryisEmpty in interface ArchiveDirectoryEntry<TarEntry,TarDirectoryEntry>true if the directory entry is empty.