|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.util.ResourceInstaller
public class ResourceInstaller
Installls resources from a given source to a given target.
| Constructor Summary | |
|---|---|
ResourceInstaller(URL sourceBaseUrl,
String sourceRelPath,
File targetDir)
Creates an instance with a given source to a given target. |
|
ResourceInstaller(URL sourceUrl,
String relSourcePath,
URL targetUrl)
Deprecated. in 4.1, use ResourceInstaller(java.net.URL, String, java.io.File) instead |
|
| Method Summary | |
|---|---|
static URL |
getSourceUrl(Class aClass)
|
void |
install(String patternString,
com.bc.ceres.core.ProgressMonitor pm)
Installs all resources found, matching the given pattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceInstaller(URL sourceUrl,
String relSourcePath,
URL targetUrl)
ResourceInstaller(java.net.URL, String, java.io.File) instead
public ResourceInstaller(URL sourceBaseUrl,
String sourceRelPath,
File targetDir)
sourceBaseUrl - the source's base URLsourceRelPath - the source's relative pathtargetDir - the target directory| Method Detail |
|---|
public void install(String patternString,
com.bc.ceres.core.ProgressMonitor pm)
throws IOException
patternString - the patternpm -
IOExceptionpublic static URL getSourceUrl(Class aClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||