public final class ResourceMapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceMapper.Retreiver
A class that will perform copy operation in a thread.
|
Modifier and Type | Field and Description |
---|---|
static ModuleContext |
mc
ModuleContext to enable logging. |
Modifier and Type | Method and Description |
---|---|
static File |
cached(File cacheFolder,
URL resource)
Utility method: it will look for the resource in the cache, if it not
available it will copy it there.
|
public static ModuleContext mc
ModuleContext
to enable logging.public static File cached(File cacheFolder, URL resource)
cacheFolder
- the location of the cache folder.resource
- the file to cacheCopyright © 2018 universAAL Consortium. All rights reserved.