Interface DocumentConsumer
- All Superinterfaces:
BiConsumer<Fetcher,Doc>
- All Known Implementing Classes:
FeaturedImageResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Optional custom processing of a document just before or just after
document has been imported by the Importer module. Set via
the crawler configuration.
-
Method Summary
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Method Details
-
accept
Processes a document.- Specified by:
acceptin interfaceBiConsumer<Fetcher,Doc> - Parameters:
fetcher- document fetcherdoc- crawl document
-