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.
-
-
Field Summary
-
Fields inherited from class de.intarsys.tools.installresource.Install
classLoader, files, name, path
-
-
Constructor Summary
Constructors Constructor Description InstallZip(java.lang.String path, java.lang.String name, boolean platformDependent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
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
-
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
-
-