org.entityfs.util.zip
Class ZipFileEntryInfoImpl
java.lang.Object
org.entityfs.util.zip.ZipEntryInfoImpl
org.entityfs.util.zip.ZipFileEntryInfoImpl
- All Implemented Interfaces:
- ZipEntryInfo, ZipFileEntryInfo
- Direct Known Subclasses:
- JarFileEntryInfoImpl
public class ZipFileEntryInfoImpl
- extends ZipEntryInfoImpl
- implements ZipFileEntryInfo
Default implementation of ZipFileEntryInfo
that uses a file entity.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- entityfs-util
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipFileEntryInfoImpl
public ZipFileEntryInfoImpl(EFile f,
AbsoluteLocation location,
ZipEntryInfoProvider zeip)
- Constructor.
- Parameters:
f
- The filelocation
- The entity's location relative to the base directory for
the Zip archive.zeip
- An provider of extra information. May be null
.
getFile
public ReadableFile getFile()
- Description copied from interface:
ZipFileEntryInfo
- Get a file to read file data from.
- Specified by:
getFile
in interface ZipFileEntryInfo
- Returns:
- A readable file.