public class UstarFileEntry extends TarFileEntry implements UstarEntry
Tar entry objects are always immutable.
UstarDirectoryEntry
,
UstarSymbolicLinkEntry
Modifier and Type | Method and Description |
---|---|
String |
getOwnerGroupName()
Get the name of the group that owned the file system entity that was
added to the Tar archive to make this Tar entry.
|
String |
getOwnerUserName()
Get the user name for the owner of the file system entity that was added
to the Tar archive to make this Tar entry.
|
String |
getUstarVersion()
Get the Ustar version used to create this entry.
|
getDataSize, getDefaultEntityMode, getSize, getStartPosOfFileData, getWriteLock, isWriteLockedByCurrentThread, lockForWriting, openChannelForRead, openForRandomAccess, openForRead
getChecksum, getEntityMode, getLastModificationTime, getOwnerGid, getOwnerUid
getCollaborator, getLocation, getName, getParent, getReadLock, isReadLockedByCurrentThread, lockForReading
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation, getParent
public String getUstarVersion()
UstarEntry
00
or an empty string.getUstarVersion
in interface UstarEntry
public String getOwnerUserName()
UstarEntry
Tar software should let this name take precedence over the numerical
owner id from TarEntry.getOwnerUid()
.
getOwnerUserName
in interface UstarEntry
UstarEntry.getOwnerGroupName()
public String getOwnerGroupName()
UstarEntry
Tar software should let this name take precedence over the numerical
group id from TarEntry.getOwnerGid()
.
getOwnerGroupName
in interface UstarEntry
UstarEntry.getOwnerUserName()