|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.jspider.AbstractMKDocPlugin | +--com.mkdoc.jspider.JTidyFileWriterPlugin
A JTidy file writer plugin for JSpider.
Based on DiskWriterPlugin
, requires two
configuration properties:
manager
com.mkdoc.store.FileStoreManager
implementation,
required. Should normally be
com.mkdoc.store.HtmlFileStoreManager
.
output.absolute
output.folder
output
directory
beneath the JSpider installation directory inStream
assumed.
Field Summary | |
protected FileStoreManager |
manager
A reference to a Manager store interface. |
Fields inherited from class com.mkdoc.jspider.AbstractMKDocPlugin |
log, VENDOR |
Constructor Summary | |
JTidyFileWriterPlugin(net.javacoding.jspider.core.util.config.PropertySet propertySet)
Obtain the output configuration. |
Method Summary | |
java.lang.String |
getDescription()
Get the plugin description. |
java.lang.String |
getName()
Get the plugin name. |
java.lang.String |
getVersion()
Get the plugin version. |
void |
notify(net.javacoding.jspider.api.event.JSpiderEvent event)
Receive notification of a JSpider event. |
protected void |
parse(java.io.InputStream inStream,
java.net.URL url)
Parse the input stream. |
Methods inherited from class com.mkdoc.jspider.AbstractMKDocPlugin |
getApplicationContext, getVendor, initialize, setLog, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.javacoding.jspider.spi.Plugin |
getVendor |
Methods inherited from interface net.javacoding.jspider.api.event.EventSink |
initialize, shutdown |
Field Detail |
protected FileStoreManager manager
Manager
store interface.
Constructor Detail |
public JTidyFileWriterPlugin(net.javacoding.jspider.core.util.config.PropertySet propertySet)
propertySet
- The configuration property set for
this plugin.Method Detail |
public final void notify(net.javacoding.jspider.api.event.JSpiderEvent event)
notify
in interface net.javacoding.jspider.api.event.EventSink
event
- A JSpider event.protected final void parse(java.io.InputStream inStream, java.net.URL url)
inStream
- The input stream source for
the file.url
- The URL of the source.public final java.lang.String getDescription()
getDescription
in interface net.javacoding.jspider.spi.Plugin
public final java.lang.String getName()
getName
in interface net.javacoding.jspider.spi.Plugin
public final java.lang.String getVersion()
getVersion
in interface net.javacoding.jspider.spi.Plugin
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |