T
- The type of entries in the archive.U
- The type of directory entries in the archive.public interface ArchiveFileEntry<T extends ArchiveEntry<T,U>,U extends ArchiveDirectoryEntry<T,U>> extends ArchiveEntry<T,U>, org.entityfs.NamedReadableFile, org.entityfs.RandomlyAccessibleFile
NamedReadableFile
, which means that it has a name and that it can be
opened for reading. It is also a RandomlyAccessibleFile
, which means
that it can be opened for (read only) random access. Not all file entries
support random access, though. Those who don't let their openForRandomAccess
throw an UnsupportedOperationException
.
The size returned by the getSize()
method is the compressed size for
the entry. The size returned by the getDataSize()
is the uncompressed
size for the entry.
getLocation, getParent
getDataSize, getSize, openChannelForRead, openForRead