public class ContentSizeAnnotationPostProcessor extends org.archive.crawler.framework.Processor
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_SIZE_ANNOTATION_PREFIX
Prefix associated with annotations made by this processor.
|
Constructor and Description |
---|
ContentSizeAnnotationPostProcessor(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
innerProcess(org.archive.crawler.datamodel.CrawlURI crawlURI)
For each URI with a successful status code (status code > 0), add annotation with content size.
|
checkForInterrupt, finalTasks, getController, getDecideRule, getDefaultNextProcessor, initialTasks, innerRejectProcess, isContentToProcess, isEnabled, isExpectedMimeType, isHttpTransactionContentToProcess, kickUpdate, process, report, rulesAccept, rulesAccept, setDefaultNextProcessor, spawn
addElementToDefinition, checkValue, earlyInitialize, getAbsoluteName, getAttribute, getAttribute, getAttribute, getAttributeInfo, getAttributeInfo, getAttributeInfoIterator, getAttributes, getDataContainerRecursive, getDataContainerRecursive, getDefaultValue, getDescription, getElementFromDefinition, getLegalValues, getLocalAttribute, getMBeanInfo, getMBeanInfo, getParent, getPreservedFields, getSettingsHandler, getUncheckedAttribute, getValue, globalSettings, invoke, isInitialized, isOverridden, iterator, removeElementFromDefinition, setAsOrder, setAttribute, setAttribute, setAttributes, setDescription, setPreservedFields, toString, unsetAttribute
public static final String CONTENT_SIZE_ANNOTATION_PREFIX
public ContentSizeAnnotationPostProcessor(String name)
name
- the name of the processor.Processor
protected void innerProcess(org.archive.crawler.datamodel.CrawlURI crawlURI) throws InterruptedException
innerProcess
in class org.archive.crawler.framework.Processor
crawlURI
- URI to add annotation for if successful.ArgumentNotValid
- if crawlURI is null.InterruptedException
- never.Processor.innerProcess(org.archive.crawler.datamodel.CrawlURI)
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.