public class ZipPlugin extends WebHarvestPlugin
elementDef| Constructor and Description |
|---|
ZipPlugin() |
| Modifier and Type | Method and Description |
|---|---|
Variable |
executePlugin(Scraper scraper,
ScraperContext context)
Mathod that actually executes processor.
|
Class[] |
getDependantProcessors()
Defines dependant subprocessors that are used inside this plugin and that will
automatically be registered with this plugin.
|
String |
getName()
Defines name of the processor.
|
String[] |
getRequiredAttributes()
This method should return all mandatory attribute names for the plugin processor.
|
String[] |
getValidAttributes()
This method should return all possible attribute names for the plugin processor.
|
ZipOutputStream |
getZipOutStream() |
evaluateAttribute, evaluateAttributeAsBoolean, evaluateAttributeAsDouble, evaluateAttributeAsInteger, execute, executeBody, getAttributeDesc, getAttributes, getAttributeValueSuggestions, getRequiredSubprocessors, getTagDesc, getValidSubprocessors, hasBody, setDefdebug, getBodyTextContent, getBodyTextContent, getBodyTextContent, getElementDef, getSubprocessors, run, setPropertypublic String getName()
WebHarvestPlugingetName in class WebHarvestPluginpublic Variable executePlugin(Scraper scraper, ScraperContext context)
WebHarvestPluginexecutePlugin in class WebHarvestPluginpublic String[] getValidAttributes()
WebHarvestPlugingetValidAttributes in class WebHarvestPluginpublic String[] getRequiredAttributes()
WebHarvestPlugingetRequiredAttributes in class WebHarvestPluginpublic Class[] getDependantProcessors()
WebHarvestPlugingetDependantProcessors in class WebHarvestPluginpublic ZipOutputStream getZipOutStream()
Copyright © 2022 WSO2. All rights reserved.