org.seasar.robot
クラス S2RobotThread
java.lang.Object
org.seasar.robot.S2RobotThread
- すべての実装されたインタフェース:
- Runnable
public class S2RobotThread
- extends Object
- implements Runnable
- 作成者:
- shinsuke
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
urlQueueService
protected UrlQueueService urlQueueService
dataService
protected DataService dataService
container
protected S2Container container
logHelper
protected LogHelper logHelper
clientFactory
protected S2RobotClientFactory clientFactory
robotContext
protected S2RobotContext robotContext
S2RobotThread
public S2RobotThread()
startCrawling
protected void startCrawling()
finishCrawling
protected void finishCrawling()
isContinue
protected boolean isContinue(int tcCount)
log
protected void log(LogHelper logHelper,
LogType key,
Object... objs)
run
public void run()
- 定義:
- インタフェース
Runnable
内の run
getClient
protected S2RobotClient getClient(String url)
isContentUpdated
protected boolean isContentUpdated(S2RobotClient client,
UrlQueue urlQueue)
processResponse
protected void processResponse(UrlQueue urlQueue,
ResponseData responseData)
storeChildUrls
protected void storeChildUrls(Set<String> childUrlList,
String url,
int depth)
storeChildUrl
protected void storeChildUrl(String childUrl,
String url,
int depth)
isValid
protected boolean isValid(UrlQueue urlQueue)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.