org.entityfs.util.jar
Class ManualJarEntryInfo
java.lang.Object
org.entityfs.util.zip.ManualZipEntryInfo
org.entityfs.util.jar.ManualJarEntryInfo
- All Implemented Interfaces:
- ZipEntryInfo
public class ManualJarEntryInfo
- extends ManualZipEntryInfo
This is an extension of ManualZipEntryInfo that creates JarEntry objects instead of ZipEntry objects.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- entityfs-util
|
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 |
ManualJarEntryInfo
public ManualJarEntryInfo(String name,
long time)
- 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.
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.