|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object es.ucm.fdi.gaia.ontobridge.OntologyDocument
public class OntologyDocument
Represents the file/document containing an ontology. As ontologies should be online but usually are placed locally this class allows to map the URI of the ontology with the local copy.
Constructor Summary | |
---|---|
OntologyDocument(java.lang.String URL)
Creates an ontology document. |
|
OntologyDocument(java.lang.String URL,
java.lang.String localfile)
Creates an ontology document |
Method Summary | |
---|---|
java.lang.String |
getLocalfile()
|
java.lang.String |
getURL()
|
boolean |
hasAltLocalFile()
Checks if user has configured the local copy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OntologyDocument(java.lang.String URL, java.lang.String localfile)
URL
- The correct URL of the ontologylocalfile
- the local copy of the ontologypublic OntologyDocument(java.lang.String URL)
URL
- The correct URL of the ontologyMethod Detail |
---|
public java.lang.String getLocalfile() throws NoLocalFileException
NoLocalFileException
public java.lang.String getURL()
public boolean hasAltLocalFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |