org.entityfs.util.jar
Class ManualJarFileEntryInfo

java.lang.Object
  extended by org.entityfs.util.zip.ManualZipEntryInfo
      extended by org.entityfs.util.zip.ManualZipFileEntryInfo
          extended by org.entityfs.util.jar.ManualJarFileEntryInfo
All Implemented Interfaces:
ZipEntryInfo, ZipFileEntryInfo

public class ManualJarFileEntryInfo
extends ManualZipFileEntryInfo

This is an extension of ManualZipFileEntryInfo that creates JarEntry objects instead of ZipEntry objects.

Since:
1.0
Author:
Karl Gustafsson

Constructor Summary
ManualJarFileEntryInfo(String name, long time, ReadableFile f)
          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.ManualZipFileEntryInfo
getFile
 
Methods inherited from class org.entityfs.util.zip.ManualZipEntryInfo
addProperties, 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

ManualJarFileEntryInfo

public ManualJarFileEntryInfo(String name,
                              long time,
                              ReadableFile f)
Constructor.

Parameters:
name - The name of the entry as it appears in the Jar file, i.e. this name represents the absolute location in the Jar file, complete with slashes (but without a leading slash).
time - The modification time of the entry.
f - The data container.
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 ManualZipEntryInfo
Parameters:
entryName - The name of the Jar entry.
Returns:
A JarEntry object.