Interface IRobotsMetaProvider
-
- All Known Implementing Classes:
StandardRobotsMetaProvider
public interface IRobotsMetaProviderResponsible for extracting robot information from a page.- Author:
- Pascal Essiembre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RobotsMetagetRobotsMeta(Reader document, String documentUrl, ContentType contentType, Properties httpHeaders)Extracts Robots meta information for a page, if any.
-
-
-
Method Detail
-
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
-
-