org.seasar.robot.filter.impl
クラス UrlFilterImpl

java.lang.Object
  上位を拡張 org.seasar.robot.filter.impl.UrlFilterImpl
すべての実装されたインタフェース:
UrlFilter

public class UrlFilterImpl
extends Object
implements UrlFilter

作成者:
shinsuke

フィールドの概要
protected  List<String> cachedExcludeList
           
protected  List<String> cachedIncludeList
           
protected  String excludeFilteringPattern
           
protected  String includeFilteringPattern
           
protected  String sessionId
           
protected  UrlFilterService urlFilterService
           
protected  String urlPattern
           
 
コンストラクタの概要
UrlFilterImpl()
           
 
メソッドの概要
 void addExclude(String urlPattern)
          Add an url pattern as a non-target.
 void addInclude(String urlPattern)
          Add an url pattern as a target.
 void clear()
          Clear this filter.
 String getExcludeFilteringPattern()
           
 String getIncludeFilteringPattern()
           
 UrlFilterService getUrlFilterService()
           
 String getUrlPattern()
           
 void init(String sessionId)
          Initialize a url filter by sessionId.
 boolean match(String url)
          Check if a given url is a target.
 void processUrl(String url)
          Process an url when it's added as a seed url.
 void setExcludeFilteringPattern(String excludeFilteringPattern)
           
 void setIncludeFilteringPattern(String includeFilteringPattern)
           
 void setUrlPattern(String urlPattern)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

urlPattern

protected String urlPattern

includeFilteringPattern

protected String includeFilteringPattern

excludeFilteringPattern

protected String excludeFilteringPattern

cachedIncludeList

protected List<String> cachedIncludeList

cachedExcludeList

protected List<String> cachedExcludeList

sessionId

protected String sessionId

urlFilterService

protected UrlFilterService urlFilterService
コンストラクタの詳細

UrlFilterImpl

public UrlFilterImpl()
メソッドの詳細

addExclude

public void addExclude(String urlPattern)
インタフェース UrlFilter の記述:
Add an url pattern as a non-target.

定義:
インタフェース UrlFilter 内の addExclude

addInclude

public void addInclude(String urlPattern)
インタフェース UrlFilter の記述:
Add an url pattern as a target.

定義:
インタフェース UrlFilter 内の addInclude

clear

public void clear()
インタフェース UrlFilter の記述:
Clear this filter.

定義:
インタフェース UrlFilter 内の clear

init

public void init(String sessionId)
インタフェース UrlFilter の記述:
Initialize a url filter by sessionId.

定義:
インタフェース UrlFilter 内の init

match

public boolean match(String url)
インタフェース UrlFilter の記述:
Check if a given url is a target.

定義:
インタフェース UrlFilter 内の match
戻り値:

processUrl

public void processUrl(String url)
インタフェース UrlFilter の記述:
Process an url when it's added as a seed url.

定義:
インタフェース UrlFilter 内の processUrl

getUrlPattern

public String getUrlPattern()

setUrlPattern

public void setUrlPattern(String urlPattern)

getIncludeFilteringPattern

public String getIncludeFilteringPattern()

setIncludeFilteringPattern

public void setIncludeFilteringPattern(String includeFilteringPattern)

getExcludeFilteringPattern

public String getExcludeFilteringPattern()

setExcludeFilteringPattern

public void setExcludeFilteringPattern(String excludeFilteringPattern)

getUrlFilterService

public UrlFilterService getUrlFilterService()


Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.