org.entityfs.util.zip
Class ZipFileEntryInfoImpl

java.lang.Object
  extended by org.entityfs.util.zip.ZipEntryInfoImpl
      extended by 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

Constructor Summary
ZipFileEntryInfoImpl(EFile f, AbsoluteLocation location, ZipEntryInfoProvider zeip)
          Constructor.
 
Method Summary
 ReadableFile getFile()
          Get a file to read file data from.
 
Methods inherited from class org.entityfs.util.zip.ZipEntryInfoImpl
createZipEntry, getEntity, getExtraInfoProvider, getLocation, getZipEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.entityfs.util.zip.ZipEntryInfo
getZipEntry
 

Constructor Detail

ZipFileEntryInfoImpl

public ZipFileEntryInfoImpl(EFile f,
                            AbsoluteLocation location,
                            ZipEntryInfoProvider zeip)
Constructor.

Parameters:
f - The file
location - The entity's location relative to the base directory for the Zip archive.
zeip - An provider of extra information. May be null.
Method Detail

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.