public abstract class TarEntry extends AbstractArchiveEntry<TarEntry,TarDirectoryEntry>
Tar entry objects are always immutable.
Modifier and Type | Method and Description |
---|---|
int |
getChecksum()
Get the entry's checksum.
|
protected abstract org.entityfs.entityattrs.unix.UnixEntityMode |
getDefaultEntityMode()
Subclasses implement this to return the default Unix entity mode if none
is set in the Tar file.
|
org.entityfs.entityattrs.unix.UnixEntityMode |
getEntityMode()
Get the Unix entity mode for the entry.
|
Date |
getLastModificationTime()
Get the time of last modification for the file system entity that was
added to the Tar file to create this Tar entry.
|
int |
getOwnerGid()
Get the owner group id for the entry.
|
int |
getOwnerUid()
Get the owner user id for the entry.
|
getCollaborator, getLocation, getName, getParent, getReadLock, isReadLockedByCurrentThread, lockForReading
protected abstract org.entityfs.entityattrs.unix.UnixEntityMode getDefaultEntityMode()
public org.entityfs.entityattrs.unix.UnixEntityMode getEntityMode()
public int getOwnerUid()
0
and 2097151
. The actual range of the property
depends on the Tar software and the operating system platform used when
creating the archive.
Some entry versions support expressing the entry owner's user name in text. Software that interpret Tar file should let that text value take precedence over this numerical value.
getOwnerGid()
public int getOwnerGid()
0
and 2097151
. The actual range of the property
depends on the Tar software and the operating system platform used when
creating the archive.
Some entry versions support expressing the entry owner's group name in text. Software that interpret Tar file should let that text value take precedence over this numerical value.
getOwnerUid()
public Date getLastModificationTime()
The time zone for the timestamp is UTC.
public int getChecksum()
This is a value in the range of 0
and 130560
.