4.3. Content Validator
Note
This page is under construction.
- Plugin Key
mediatype_content_validator_factory
, wheremediatype
is a media type like application/pdf- Plugin Value Type
- Plugin Value Format
The value is the fully qualified name of a Java class implementing the
org.lockss.plugin.ContentValidatorFactory
interface, which is a factory for theorg.lockss.plugin.ContentValidator
interface.- Sample
<entry> <string>application/pdf_content_validator_factory</string> <string>edu.example.plugin.publisherx.PublisherXPdfValidatorFactory</string> </entry>
- Description
A content validator can be used to reject files of a given media type, by examining the headers and/or the content of a crawled URL.