public class ResourceInstaller extends Object
| Constructor and Description |
|---|
ResourceInstaller(Path sourceDirPath,
Path targetDirPath)
Creates an instance with a given source to a given target.
|
| Modifier and Type | Method and Description |
|---|---|
static Path |
findModuleCodeBasePath(Class clazz) |
void |
install(String patternString,
ProgressMonitor pm)
Installs all resources found, matching the given pattern.
|
public void install(String patternString, ProgressMonitor pm) throws IOException
patternString - the search pattern. Specifies the pattern and the syntax for searching for resources.
The syntax can either be 'glob:' or 'regex:'. If the syntax does not start with one of the syntax
identifiers 'regex:' is pre-pended.pm - progress monitor for indicating progressIOExceptionFileSystem.getPathMatcher(String)Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.