Static Public Member Functions | |
static OWLOntology | loadOntologyFromFile (String file) |
static OWLOntology | loadOntologyFromStream (InputStream stream) |
static OWLOntology | loadOntologyFromString (String s) |
static OWLOntology | loadOntologyFromWeb (String url) |
static boolean | saveOntologyToFile (OWLOntology ontology, String file) |
static boolean | saveOntologyToFile (OWLOntology ontology, String file, OWLOntologyFormat format) |
static boolean | saveOntologyToStream (OWLOntology ontology, OutputStream stream) |
static boolean | saveOntologyToStream (OWLOntology ontology, OutputStream stream, OWLOntologyFormat format) |
static String | saveOntologyToString (OWLOntology ontology) |
static String | saveOntologyToString (OWLOntology ontology, OWLOntologyFormat format) |
Static Public Attributes | |
static final OWLOntologyFormat | ONTOLOGY_FORMAT_RDFXML = new RDFXMLOntologyFormat() |
A utility class providing methods to load, save and convert OWL ontologies in various ways.
Definition at line 84 of file OWLIO.java.
static OWLOntology roboearth.wp5.owl.OWLIO.loadOntologyFromFile | ( | String | file | ) | [inline, static] |
Loads an OWL ontology from a given file.
file | name of file |
Definition at line 152 of file OWLIO.java.
static OWLOntology roboearth.wp5.owl.OWLIO.loadOntologyFromStream | ( | InputStream | stream | ) | [inline, static] |
Loads an OWL ontology from a given input stream.
stream | input stream |
Definition at line 209 of file OWLIO.java.
static OWLOntology roboearth.wp5.owl.OWLIO.loadOntologyFromString | ( | String | s | ) | [inline, static] |
Parses an OWL ontology from a given string.
s | String containing an OWL document |
Definition at line 264 of file OWLIO.java.
static OWLOntology roboearth.wp5.owl.OWLIO.loadOntologyFromWeb | ( | String | url | ) | [inline, static] |
Loads an OWL ontology from a given URL.
url | URL specifing the location of an OWL ontology |
Definition at line 98 of file OWLIO.java.
static boolean roboearth.wp5.owl.OWLIO.saveOntologyToFile | ( | OWLOntology | ontology, |
String | file | ||
) | [inline, static] |
Saves an OWL ontology to a file.
ontology | ontology to be saved |
file | name of target file |
true
- if saving was successfully completedfalse
- otherwise Definition at line 281 of file OWLIO.java.
static boolean roboearth.wp5.owl.OWLIO.saveOntologyToFile | ( | OWLOntology | ontology, |
String | file, | ||
OWLOntologyFormat | format | ||
) | [inline, static] |
Saves an OWL ontology to a file in a given ontology format.
ontology | ontology to be saved |
file | name of target file |
format | desired ontology format ( |
true
- if saving was successfully completedfalse
- otherwise Definition at line 305 of file OWLIO.java.
static boolean roboearth.wp5.owl.OWLIO.saveOntologyToStream | ( | OWLOntology | ontology, |
OutputStream | stream | ||
) | [inline, static] |
Saves an OWL ontology to a given output stream.
ontology | ontology to be saved |
stream | output stream |
true
- if saving was successfully completedfalse
- otherwise Definition at line 358 of file OWLIO.java.
static boolean roboearth.wp5.owl.OWLIO.saveOntologyToStream | ( | OWLOntology | ontology, |
OutputStream | stream, | ||
OWLOntologyFormat | format | ||
) | [inline, static] |
Saves an OWL ontology to an output stream in a given ontology format.
ontology | ontology to be saved |
stream | output stream |
format | desired ontology format ( |
true
- if saving was successfully completedfalse
- otherwise Definition at line 382 of file OWLIO.java.
static String roboearth.wp5.owl.OWLIO.saveOntologyToString | ( | OWLOntology | ontology | ) | [inline, static] |
Saves an OWL ontology to a String object using its current ontology format.
ontology | ontology to be saved |
Definition at line 431 of file OWLIO.java.
static String roboearth.wp5.owl.OWLIO.saveOntologyToString | ( | OWLOntology | ontology, |
OWLOntologyFormat | format | ||
) | [inline, static] |
Saves an OWL ontology to a String object.
ontology | ontology to be saved |
format | desired ontology format ( |
Definition at line 444 of file OWLIO.java.
final OWLOntologyFormat roboearth.wp5.owl.OWLIO.ONTOLOGY_FORMAT_RDFXML = new RDFXMLOntologyFormat() [static] |
Ontology format object defining the RDF/XML format
Definition at line 90 of file OWLIO.java.