jsystem.extensions.analyzers.text
Class FindText

java.lang.Object
  extended byjsystem.framework.analyzer.AnalyzerParameterImpl
      extended byjsystem.extensions.analyzers.text.AnalyzeTextParameter
          extended byjsystem.extensions.analyzers.text.FindText
All Implemented Interfaces:
AnalyzerParameter
Direct Known Subclasses:
TextEquals, TextNotFound

public class FindText
extends AnalyzeTextParameter

Find a text in a string. Support regular expressions.


Field Summary
protected  boolean isRegExp
           
 
Fields inherited from class jsystem.extensions.analyzers.text.AnalyzeTextParameter
testText, toFind
 
Fields inherited from class jsystem.framework.analyzer.AnalyzerParameterImpl
analyzer, message, status, testAgainst, throwable, title
 
Constructor Summary
FindText(String toFind)
           
FindText(String toFind, boolean isRegExp)
           
 
Method Summary
 void analyze()
          The analyze process.
 
Methods inherited from class jsystem.extensions.analyzers.text.AnalyzeTextParameter
setTestAgainst
 
Methods inherited from class jsystem.framework.analyzer.AnalyzerParameterImpl
getMessage, getStatus, getThrowable, getTitle, setAnalyzer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isRegExp

protected boolean isRegExp
Constructor Detail

FindText

public FindText(String toFind)
Parameters:
toFind - The string to find.

FindText

public FindText(String toFind,
                boolean isRegExp)
Parameters:
toFind - The string to find.
isRegExp - is regular expression.
Method Detail

analyze

public void analyze()
Description copied from interface: AnalyzerParameter
The analyze process.