Nepomuk-Core
plaintextextractor.h
Go to the documentation of this file.
36 virtual SimpleResourceGraph extract(const QUrl& resUri, const QUrl& fileUrl, const QString& mimeType);
PlainTextExtractor(QObject *parent, const QVariantList &)
Definition: plaintextextractor.cpp:33
The ExtractorPlugin is the base class for all file metadata extractors.
Definition: extractorplugin.h:60
virtual bool shouldExtract(const QUrl &url, const QString &mimeType)
By default this returns true if mimetype is in the list of mimetypes provided by the plugin...
Definition: plaintextextractor.cpp:39
virtual SimpleResourceGraph extract(const QUrl &resUri, const QUrl &fileUrl, const QString &mimeType)
The main function of the plugin that is responsible for extracting the data from the file url and ret...
Definition: plaintextextractor.cpp:45
virtual ExtractingCritera criteria()
Returns the critera that is being used for determining if this plugin can index the files provided to...
Definition: plaintextextractor.h:33
The plugin implements the determineMimeType function and uses that to determine if the url and mimety...
Definition: extractorplugin.h:82
ExtractingCritera
Each Plugin provides an extracting critera which determines when the plugin should be called...
Definition: extractorplugin.h:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.