de.intarsys.tools.installresource
Class InstallFileList
java.lang.Object
de.intarsys.tools.installresource.Install
de.intarsys.tools.installresource.InstallFileList
public class InstallFileList
- extends Install
An abstraction to access a directory structure to be deployed along with the
application via the class loader. Initially a file containing a list of
filenames is searched. All files referenced in the list are created in a
common directory.
Constructor Summary |
InstallFileList(java.lang.String path,
java.lang.String name,
boolean platformDependent)
|
Method Summary |
protected void |
loadEntry(java.io.File parent,
java.lang.String name)
|
protected void |
loadList(java.io.File parent,
java.io.InputStream is)
|
protected java.io.File |
loadURL(java.net.URL url)
|
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 |
InstallFileList
public InstallFileList(java.lang.String path,
java.lang.String name,
boolean platformDependent)
loadEntry
protected void loadEntry(java.io.File parent,
java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
loadList
protected void loadList(java.io.File parent,
java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
loadURL
protected java.io.File loadURL(java.net.URL url)
throws java.io.IOException
- Specified by:
loadURL
in class Install
- Throws:
java.io.IOException