-
public class RobotRulesParser.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final LoggerLOGpublic final BaseRobotRulesEMPTY_RULESprivate final Hashtable<String, BaseRobotRules>CACHEprivate BaseRobotRulesFORBID_ALL_RULESpublic final static RobotRulesParser.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitmain(Array<String> argv)command-line main for testing final LoggergetLOG()final BaseRobotRulesgetEMPTY_RULES()A BaseRobotRules object appropriate for use when the robots.txtfile is empty or missing; all requests are allowed.final Hashtable<String, BaseRobotRules>getCACHE()final BaseRobotRulesgetFORBID_ALL_RULES()A BaseRobotRules object appropriate for use when the robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.final UnitsetFORBID_ALL_RULES(BaseRobotRules FORBID_ALL_RULES)A BaseRobotRules object appropriate for use when the robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.-
-
Method Detail
-
getLOG
final Logger getLOG()
-
getEMPTY_RULES
final BaseRobotRules getEMPTY_RULES()
A BaseRobotRules object appropriate for use when the
robots.txtfile is empty or missing; all requests are allowed.
-
getFORBID_ALL_RULES
final BaseRobotRules getFORBID_ALL_RULES()
A BaseRobotRules object appropriate for use when the
robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.
-
setFORBID_ALL_RULES
final Unit setFORBID_ALL_RULES(BaseRobotRules FORBID_ALL_RULES)
A BaseRobotRules object appropriate for use when the
robots.txtfile is not fetched due to a403/Forbiddenresponse; all requests are disallowed.
-
-
-
-