|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mkdoc.store.AbstractFileSystemManager
com.mkdoc.store.HtmlFileSystemSubjectManager
Manage HTML resources stored on a file system.
This interim version duplicates many of the methods in the com.mkdoc.jspider package plugin classes. Should ultimately be moved to a manager hierarchy of its own with more limited, specific interface.
Field Summary |
Fields inherited from class com.mkdoc.store.AbstractFileSystemManager |
ABSOLUTE, baseDir, DOT, FOLDER, outputDir |
Constructor Summary | |
HtmlFileSystemSubjectManager()
|
Method Summary | |
void |
addDocumentStatements(org.openrdf.model.URI subjectUri,
org.openrdf.model.Graph graph)
Add statements about a document by subject URI. |
java.lang.String |
getExtension()
Get the extension for storage files. |
void |
initialize(net.javacoding.jspider.core.util.config.PropertySet propertySet)
Initialize the manager. |
void |
purgeDocumentStatements(java.lang.String subjectUri)
Purge statements about a document by subject URI. |
void |
purgeSiteStatements(java.lang.String subjectUri)
Purge statements about a site by subject URI. |
void |
shutdown()
Shut down the manager, not implemented. |
Methods inherited from class com.mkdoc.store.AbstractFileSystemManager |
configureOutput, createDirectories, getOutputStream, getStorageFile, includesFile, purgeDocumentFile, trimExtension |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.mkdoc.store.SubjectManager |
getOutputStream |
Constructor Detail |
public HtmlFileSystemSubjectManager()
Method Detail |
public final void initialize(net.javacoding.jspider.core.util.config.PropertySet propertySet)
initialize
in interface Manager
propertySet
- The set of properties that configure this manager.public final java.lang.String getExtension()
getExtension
in class AbstractFileSystemManager
public final void shutdown()
shutdown
in interface Manager
public final void purgeDocumentStatements(java.lang.String subjectUri) throws StoreException
purgeDocumentStatements
in interface SubjectManager
subjectUri
- The URI of the subject document to purge.
StoreException
- If an error occurs with the triple store.public final void purgeSiteStatements(java.lang.String subjectUri) throws StoreException
purgeSiteStatements
in interface SubjectManager
subjectUri
- The URI of the subject site to purge.
StoreException
- If an error occurs with the triple store.public final void addDocumentStatements(org.openrdf.model.URI subjectUri, org.openrdf.model.Graph graph) throws StoreException
addDocumentStatements
in interface SubjectManager
subjectUri
- The URI of the subject document to add.graph
- The RDF graph of statements about this document.
StoreException
- If an error occurs with the triple store.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |