org.at4j.tar
Class PaxFileEntry

java.lang.Object
  extended by org.at4j.archive.AbstractArchiveEntry<TarEntry,TarDirectoryEntry>
      extended by org.at4j.tar.TarEntry
          extended by org.at4j.tar.TarFileEntry
              extended by org.at4j.tar.UstarFileEntry
                  extended by org.at4j.tar.PaxFileEntry
All Implemented Interfaces:
ArchiveEntry<TarEntry,TarDirectoryEntry>, ArchiveFileEntry<TarEntry,TarDirectoryEntry>, PaxEntry, UstarEntry, Lockable, ReadLockable, ReadWriteLockable, WriteLockable, Named, NamedReadableFile, RandomlyAccessibleFile, ReadableFile

public class PaxFileEntry
extends UstarFileEntry
implements PaxEntry

This object represents a file entry created with a POSIX-1.2001 compatible version of tar.

Tar entry objects are always immutable.

Since:
1.0
Author:
Karl Gustafsson
See Also:
PaxDirectoryEntry, PaxSymbolicLinkEntry

Method Summary
 Map<String,String> getPaxVariables()
          Get a read only map containing this entry's PAX variables.
 
Methods inherited from class org.at4j.tar.UstarFileEntry
getOwnerGroupName, getOwnerUserName, getUstarVersion
 
Methods inherited from class org.at4j.tar.TarFileEntry
getDataSize, getDefaultEntityMode, getSize, getStartPosOfFileData, getWriteLock, isWriteLockedByCurrentThread, lockForWriting, openChannelForRead, openForRandomAccess, openForRead
 
Methods inherited from class org.at4j.tar.TarEntry
getChecksum, getEntityMode, getLastModificationTime, getOwnerGid, getOwnerUid
 
Methods inherited from class org.at4j.archive.AbstractArchiveEntry
getCollaborator, getLocation, getName, getParent, getReadLock, isReadLockedByCurrentThread, lockForReading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.at4j.tar.UstarEntry
getOwnerGroupName, getOwnerUserName, getUstarVersion
 
Methods inherited from interface org.at4j.archive.ArchiveEntry
getLocation, getParent
 
Methods inherited from interface org.entityfs.Named
getName
 
Methods inherited from interface org.entityfs.lock.ReadLockable
getReadLock, isReadLockedByCurrentThread, lockForReading
 

Method Detail

getPaxVariables

public Map<String,String> getPaxVariables()
Description copied from interface: PaxEntry
Get a read only map containing this entry's PAX variables.

Specified by:
getPaxVariables in interface PaxEntry
Returns:
A map containing this entry's PAX variables.