org.seasar.robot.entity
クラス RobotsTxt
java.lang.Object
org.seasar.robot.entity.RobotsTxt
public class RobotsTxt
- extends Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_BOTS
protected static final String ALL_BOTS
- 関連項目:
- 定数フィールド値
agentsToDirectives
protected final Map<String,RobotsTxt.Directives> agentsToDirectives
RobotsTxt
public RobotsTxt()
allows
public boolean allows(String path,
String userAgent)
getCrawlDelay
public int getCrawlDelay(String userAgent)
getDirectives
public RobotsTxt.Directives getDirectives(String userAgent)
getDirectives
public RobotsTxt.Directives getDirectives(String userAgent,
String defaultUserAgent)
addDirectives
public void addDirectives(String userAgent,
RobotsTxt.Directives directives)
getUserAgents
public String[] getUserAgents()
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.