kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDBBaseKnowledge::Interfaces::FileLoader Class Referenceabstract
Inheritance diagram for kDBBaseKnowledge::Interfaces::FileLoader:

Public Member Functions

virtual bool canLoad (const QString &_path, const QString &_mime_type)=0
 
virtual knowCore::ReturnValue< QStringListloadFile (const QString &_path, const kDB::Repository::Connection &_connection)=0
 

Member Function Documentation

◆ loadFile()

virtual knowCore::ReturnValue< QStringList > kDBBaseKnowledge::Interfaces::FileLoader::loadFile ( const QString & _path,
const kDB::Repository::Connection & _connection )
pure virtual

Load the file from _path into the database for the given connection _connection.

Returns
a list of files on which this file depend.

Implemented in kDBBaseKnowledge::SPARQLFileLoader, kDBDocuments::kDQLFileLoader, kDBGIS::GeoTIFFFileLoader, and kDBRuby::FileLoader.


The documentation for this class was generated from the following files: