Nepomuk
#include <fileontologyloader.h>
Public Member Functions | |
FileOntologyLoader () | |
FileOntologyLoader (const QString &filename, Soprano::RdfSerialization serialization=Soprano::SerializationUnknown) | |
~FileOntologyLoader () | |
QString | fileName () const |
QList< Soprano::Statement > | loadOntology (const QUrl &url) |
void | setFileName (const QString &filename) |
void | setSerialization (Soprano::RdfSerialization) |
Public Member Functions inherited from Nepomuk::OntologyLoader | |
virtual | ~OntologyLoader () |
Additional Inherited Members | |
Protected Member Functions inherited from Nepomuk::OntologyLoader | |
OntologyLoader () | |
Detailed Description
- Deprecated:
- Ontologies should now be handled using the classes in the Nepomuk::Types namespace.
Definition at line 35 of file fileontologyloader.h.
Constructor & Destructor Documentation
Nepomuk::FileOntologyLoader::FileOntologyLoader | ( | ) |
Default constructor.
Creates a FileOntologyLoader that will try to load the ontology directly from its URL, i.e. the internet.
|
explicit |
Creates a FileOntologyLoader that will load the ontology from the specified filename.
Nepomuk::FileOntologyLoader::~FileOntologyLoader | ( | ) |
Destructor.
Member Function Documentation
QString Nepomuk::FileOntologyLoader::fileName | ( | ) | const |
|
virtual |
reimplemented from OntologyLoader
Implements Nepomuk::OntologyLoader.
void Nepomuk::FileOntologyLoader::setFileName | ( | const QString & | filename | ) |
Set the filename to be used for reading the ontologies.
If no filename has been set FileOntologyLoader will try load the ontology file from the internet, i.e. directly use the ontology URL - NOT IMPLEMENTED YET.
void Nepomuk::FileOntologyLoader::setSerialization | ( | Soprano::RdfSerialization | ) |
Set the serialization that is used in the file.
Defaults to Soprano::SerializationUnknown
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.