de.intarsys.tools.installresource
Class InstallZip
java.lang.Object
de.intarsys.tools.installresource.Install
de.intarsys.tools.installresource.InstallZip
public class InstallZip
- extends Install
An abstraction to access a directory structure to be deployed along with the
application via the class loader. Initially a ZIP file is searched. The ZIP
is expanded to a temporary directory.
Constructor Summary |
InstallZip(java.lang.String path,
java.lang.String name,
boolean platformDependent)
|
Method Summary |
protected void |
loadEntry(java.io.File parent,
java.util.zip.ZipFile zipFile,
java.util.zip.ZipEntry entry)
|
protected java.io.File |
loadURL(java.net.URL url)
|
protected void |
loadZip(java.io.File zip,
java.io.File parent)
|
Methods inherited from class de.intarsys.tools.installresource.Install |
copy, createPlatformFallbackId, createPlatformId, delete, deleteOnExit, find, getClassLoader, getFile, getFiles, getName, getPath, getPlatformDefaultId, getPlatformFallbackId, getPlatformId, getResourceNameDefault, getResourceNameFallback, getResourceNameFull, getResourceNamePlain, isPlatformDependent, load, loadAll, open, prefix, setClassLoader, setPlatformFallbackId, setPlatformId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallZip
public InstallZip(java.lang.String path,
java.lang.String name,
boolean platformDependent)
loadEntry
protected void loadEntry(java.io.File parent,
java.util.zip.ZipFile zipFile,
java.util.zip.ZipEntry entry)
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
loadURL
protected java.io.File loadURL(java.net.URL url)
throws java.io.IOException
- Specified by:
loadURL
in class Install
- Throws:
java.io.IOException
loadZip
protected void loadZip(java.io.File zip,
java.io.File parent)
throws java.util.zip.ZipException,
java.io.IOException
- Throws:
java.util.zip.ZipException
java.io.IOException