$search
Static Public Member Functions | |
static OWLOntology | loadOntologyFromFile (String filename) throws OWLOntologyCreationException |
static boolean | saveOntologyToFile (OWLOntology ontology, String file, OWLOntologyFormat format) |
static boolean | saveOntologyToFile (OWLOntology ontology, OWLOntologyFormat format, String file) |
static boolean | saveOntologyToStream (OWLOntology ontology, OutputStream stream, OWLOntologyFormat format) |
static String | saveOntologytoString (OWLOntology ontology, OWLOntologyFormat format) |
Utilities for reading and writing OWL files
Definition at line 19 of file OWLFileUtils.java.
static OWLOntology edu::tum::cs::ias::knowrob::owl::utils::OWLFileUtils::loadOntologyFromFile | ( | String | filename | ) | throws OWLOntologyCreationException [inline, static] |
Loads an ontology from an OWL file
filename | File that is to be loaded |
OWLOntologyCreationException |
Definition at line 28 of file OWLFileUtils.java.
static boolean edu::tum::cs::ias::knowrob::owl::utils::OWLFileUtils::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 141 of file OWLFileUtils.java.
static boolean edu::tum::cs::ias::knowrob::owl::utils::OWLFileUtils::saveOntologyToFile | ( | OWLOntology | ontology, | |
OWLOntologyFormat | format, | |||
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 118 of file OWLFileUtils.java.
static boolean edu::tum::cs::ias::knowrob::owl::utils::OWLFileUtils::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 42 of file OWLFileUtils.java.
static String edu::tum::cs::ias::knowrob::owl::utils::OWLFileUtils::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 92 of file OWLFileUtils.java.