public class Modules extends Object
| Modifier and Type | Field and Description |
|---|---|
String[] |
allClasses
An array of all the class names of the modules.
|
String[] |
allFields
An array of all the fields used in the modules.
|
LinkedHashMap<String,Class<?>> |
moduleName2Class
A
map of all the class names and the class itself. |
LinkedHashMap<String,List<org.hortonmachine.gears.libs.modules.ClassField>> |
moduleName2Fields
A
map of all the class names and their fields. |
| Modifier and Type | Method and Description |
|---|---|
static Modules |
getInstance()
Retrieves the
Modules. |
static Modules |
getInstance(URL baseclassUrl)
Retrieves the
JGrassGears for a particular url path. |
static void |
main(String[] args) |
public final LinkedHashMap<String,Class<?>> moduleName2Class
map of all the class names and the class itself.public final LinkedHashMap<String,List<org.hortonmachine.gears.libs.modules.ClassField>> moduleName2Fields
map of all the class names and their fields.public String[] allFields
public String[] allClasses
public static Modules getInstance()
Modules. If it exists, that instance is returned.public static Modules getInstance(URL baseclassUrl)
JGrassGears for a particular url path.
When this method is called, the JGrassGears instance is reset.
Be careful when you use this. This is a workaround needed for eclipse systems, where the url returned by the urlfinder is a bundleresource that would need to be resolved first with rcp tools we do not want to depend on.
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2005–2020 HydroloGIS. All rights reserved.