| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract class of knowledgecatalogs.
Constructor Summary | |
protected | KnowledgeCatalog(String fileName) Create a new KnowledgeCatalog from the given file. |
Method Summary | |
protected static Class | dlClassForName(String packageName, String className) Dynamically load a class by name. |
static String | extractArgument(String spec) Extract the argument of a name(argument) list. |
static String | extractName(String spec) Extract the name of a name(value) or name(argument) list. |
static Double | extractValue(String spec) Extract the value of a name(value) list. |
String | getFileName() Return the filename from which this catalog was loaded. |
String | getProperty(String name) Get a property. |
String | getProperty(String name, String def) Get a property. |
static String | getResourcePath() The resource path. |
boolean | isInitialized() Is this catalog initialized. |
Map | makeStringDoubleMap(String propertyName, String def) Parse a string of name(value) pairs into a map from the property list. |
protected void | setResourcePath(String fileName) Set the resource path from a fileName of a KnowledgeCatalog. |
static List | split(String delim, String str) Split a given string in parts. |
static String | stripPathFromClassName(String name) Strip the path from a string representation of a class name. |
static String | stripPathFromClassName(Class c) Strip the path from the class name of this class. |
static String | stripPathFromClassName(Object o) Strip the path from the class name of this object. |
Constructor Detail |
protected KnowledgeCatalog(String fileName)
throws java.io.FileNotFoundException,
java.io.IOException
Method Detail |
protected static Class dlClassForName(String packageName, String className)
throws java.lang.ClassNotFoundException
public static String extractArgument(String spec)
public static String extractName(String spec)
public static Double extractValue(String spec)
public String getFileName()
public String getProperty(String name)
public String getProperty(String name, String def)
public static String getResourcePath()
public boolean isInitialized()
public Map makeStringDoubleMap(String propertyName, String def)
protected void setResourcePath(String fileName)
public static List split(String delim, String str)
public static String stripPathFromClassName(String name)
public static String stripPathFromClassName(Class c)
public static String stripPathFromClassName(Object o)
Association Links |
to Class java.net.URL
to Class java.lang.String
| a gvijf production | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |