org.entityfs.util.jar
Class ManualJarFileEntryInfo
java.lang.Object
org.entityfs.util.zip.ManualZipEntryInfo
org.entityfs.util.zip.ManualZipFileEntryInfo
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
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 |
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.
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.