rcomp
b2008031701

org.phosphoresce.resourcecomp.plugin.filter
クラス ResourceIgnoreFilter

java.lang.Object
  拡張org.phosphoresce.resourcecomp.plugin.filter.ResourceIgnoreFilter
すべての実装インタフェース:
CompareResourceFilter

public class ResourceIgnoreFilter
extends java.lang.Object
implements CompareResourceFilter

リソース無視フィルタクラス

当クラスは実行パス直下にrcomp-ignore-filter.propertiesが存在する場合、クラスが初期化されたタイミングで Propertiesファイルに定義されている情報でクラスを初期化します。

作成者:
Kitagawa

コンストラクタの概要
ResourceIgnoreFilter()
          コンストラクタ
 
メソッドの概要
 boolean accept(java.io.File file)
          指定されたファイルオブジェクトが検索対象であるか判定します。
 void add(java.lang.String value, boolean regexp)
          リソース無視文字列を追加します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ResourceIgnoreFilter

public ResourceIgnoreFilter()
                     throws IllegalConfigurationException
コンストラクタ

例外:
IllegalConfigurationException - 正常に環境設定が行えなかった場合に発生
メソッドの詳細

add

public void add(java.lang.String value,
                boolean regexp)
リソース無視文字列を追加します。

パラメータ:
value - 文字列
regexp - 指定する文字列が正規表現の場合にtrueを指定

accept

public boolean accept(java.io.File file)
               throws ResourceOperateException
指定されたファイルオブジェクトが検索対象であるか判定します。

定義:
インタフェース CompareResourceFilter 内の accept
パラメータ:
file - 対象ファイルオブジェクト
戻り値:
検索対象である場合にtrueを返却
例外:
ResourceOperateException - 正常にリソースオブジェクトへのアクセスが行えなかった場合に発生
関連項目:
CompareResourceFilter.accept(java.io.File)

rcomp
b2008031701