public class OntologyConfiguration extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
OntologyConfiguration()
This is a singleton class, so the constructor is "hidden"
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
getFilePathNames()
Get the file path names for the ontologies
|
java.io.File |
getIndexFile() |
Color |
getLibraryColor(java.lang.String filepath) |
void |
initialize()
Initialize the catalog TODO: read from config file
|
static OntologyConfiguration |
instance()
This method must be called to create/obtain an instance of the catalog
|
java.lang.Boolean |
isLibraryLocal(java.lang.String filepath) |
boolean |
isLibraryOntology(java.lang.String filepath) |
boolean |
isTagBarOntology(java.lang.String filepath) |
void |
reset() |
void |
setIndexFile(java.io.File indexFile) |
protected OntologyConfiguration()
public void setIndexFile(java.io.File indexFile)
public java.io.File getIndexFile()
public void initialize()
public static OntologyConfiguration instance()
public void reset()
public java.util.Iterator getFilePathNames()
public Color getLibraryColor(java.lang.String filepath)
public java.lang.Boolean isLibraryLocal(java.lang.String filepath)
public boolean isLibraryOntology(java.lang.String filepath)
public boolean isTagBarOntology(java.lang.String filepath)