org.entityfs.util.jar
Class JarEntryInfoImpl
java.lang.Object
org.entityfs.util.zip.ZipEntryInfoImpl
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
Method Summary |
protected ZipEntry |
createZipEntry(String entryName)
Override the inherited implementation to create a JarEntry
instance instead of a ZipEntry . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
.
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.