org.entityfs.util.jar
Class JarEntryInfoImpl

java.lang.Object
  extended by org.entityfs.util.zip.ZipEntryInfoImpl
      extended by org.entityfs.util.jar.JarEntryInfoImpl
All Implemented Interfaces:
ZipEntryInfo

public class JarEntryInfoImpl
extends ZipEntryInfoImpl

This is a ZipEntryInfo implementation that creates JarEntry objects in the same way as ZipEntryInfoImpl creates ZipEntry objects.

Since:
1.0
Author:
Karl Gustafsson

Constructor Summary
JarEntryInfoImpl(Entity ent, AbsoluteLocation location, ZipEntryInfoProvider zeip)
          Constructor.
 
Method Summary
protected  ZipEntry createZipEntry(String entryName)
          Override the inherited implementation to create a JarEntry instance instead of a ZipEntry.
 
Methods inherited from class org.entityfs.util.zip.ZipEntryInfoImpl
getEntity, getExtraInfoProvider, getLocation, getZipEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarEntryInfoImpl

public JarEntryInfoImpl(Entity ent,
                        AbsoluteLocation location,
                        ZipEntryInfoProvider zeip)
Constructor.

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

createZipEntry

protected ZipEntry createZipEntry(String entryName)
Override the inherited implementation to create a JarEntry instance instead of a ZipEntry.

Overrides:
createZipEntry in class ZipEntryInfoImpl
Parameters:
entryName - The name of the Jar entry.
Returns:
A JarEntry object.