org.seasar.robot.helper
クラス RobotsTxtHelper
java.lang.Object
org.seasar.robot.helper.RobotsTxtHelper
public class RobotsTxtHelper
- extends Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_AGENT
protected static final Pattern USER_AGENT
DISALLOW
protected static final Pattern DISALLOW
ALLOW
protected static final Pattern ALLOW
CRAWL_DELAY
protected static final Pattern CRAWL_DELAY
RobotsTxtHelper
public RobotsTxtHelper()
parse
public RobotsTxt parse(String text)
parse
public RobotsTxt parse(InputStream stream)
parse
public RobotsTxt parse(InputStream stream,
String charsetName)
parse
public RobotsTxt parse(Reader reader)
parse
protected RobotsTxt parse(List<String> lines)
getValue
protected String getValue(Pattern pattern,
String line)
stripComment
protected String stripComment(String line)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.