content-notifier
b2006102501

org.phosphoresce.contentnotifier.strategy
クラス ContentStringCheckStrategy

java.lang.Object
  拡張org.phosphoresce.contentnotifier.strategy.ContentStringCheckStrategy
すべての実装インタフェース:
CheckStrategy

public class ContentStringCheckStrategy
extends java.lang.Object
implements CheckStrategy

指定されたファイルに特定の文字列が含まれている場合に通知するクラス

作成者:
Kitagawa

コンストラクタの概要
ContentStringCheckStrategy(java.lang.String properties)
          コンストラクタ
 
メソッドの概要
 boolean check()
          指定されたファイルに指定された文字列が含まれる場合にfalseを返却します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ContentStringCheckStrategy

public ContentStringCheckStrategy(java.lang.String properties)
                           throws PropertiesLoadException
コンストラクタ

パラメータ:
properties - プロパティファイル
例外:
PropertiesLoadException - 正常にプロパティファイル情報を読み込めなかった場合に発生
メソッドの詳細

check

public boolean check()
              throws ContentCheckException
指定されたファイルに指定された文字列が含まれる場合にfalseを返却します。

定義:
インタフェース CheckStrategy 内の check
戻り値:
指定されたファイルに指定された文字列が含まれる場合にfalseを返却
例外:
ContentCheckException - チェック中に予期せぬ例外が発生した場合にスローされます
関連項目:
CheckStrategy.check()

content-notifier
b2006102501