Interface IRobotsMetaProvider
- All Known Implementing Classes:
StandardRobotsMetaProvider
public interface IRobotsMetaProvider
Responsible for extracting robot information from a page.
- Author:
- Pascal Essiembre
-
Method Summary
Modifier and TypeMethodDescriptiongetRobotsMeta(Reader document, String documentUrl, ContentType contentType, Properties httpHeaders) Extracts Robots meta information for a page, if any.
-
Method Details
-
getRobotsMeta
RobotsMeta getRobotsMeta(Reader document, String documentUrl, ContentType contentType, Properties httpHeaders) throws IOException Extracts Robots meta information for a page, if any.- Parameters:
document- the documentdocumentUrl- document urlcontentType- the document content typehttpHeaders- the document HTTP Headers- Returns:
- robots meta instance
- Throws:
IOException- problem reading the document
-