kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDBRuby::FileLoader Class Reference
Inheritance diagram for kDBRuby::FileLoader:
Collaboration diagram for kDBRuby::FileLoader:

Public Member Functions

bool canLoad (const QString &_path, const QString &_mime_type) override
 
knowCore::ReturnValue< QStringListloadFile (const QString &_path, const kDB::Repository::Connection &_connection) override
 
- Public Member Functions inherited from kDBBaseKnowledge::Interfaces::FileLoader

Constructor & Destructor Documentation

◆ ~FileLoader()

FileLoader::~FileLoader ( )
virtual

Member Function Documentation

◆ canLoad()

bool FileLoader::canLoad ( const QString & _path,
const QString & _mime_type )
overridevirtual

◆ loadFile()

knowCore::ReturnValue< QStringList > FileLoader::loadFile ( const QString & _path,
const kDB::Repository::Connection & _connection )
overridevirtual

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

Returns
a list of files on which this file depend.

Implements kDBBaseKnowledge::Interfaces::FileLoader.


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