java.lang.Object
nectar.reda.client.base.RedaModuleCache
- public class RedaModuleCache
- extends java.lang.Object
|
Constructor Summary |
RedaModuleCache()
Creates a new instance of RedaModuleCache |
|
Method Summary |
java.util.Map |
getModules()
returns a [module-name] => [RedaModuleDescriptor] mapping of available modules. |
void |
loadJarsFromDir(java.lang.String path)
attempts to read any *.jar files in the given path parameter, and stores
their module name, file name and version number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private java.util.HashMap map
RedaModuleCache
public RedaModuleCache()
- Creates a new instance of RedaModuleCache
loadJarsFromDir
public void loadJarsFromDir(java.lang.String path)
throws java.io.IOException
- attempts to read any *.jar files in the given path parameter, and stores
their module name, file name and version number.
getModules
public java.util.Map getModules()
- returns a [module-name] => [RedaModuleDescriptor] mapping of available modules.