jsystem.extensions.analyzers.text
Class AnalyzeTextParameter

java.lang.Object
  extended byjsystem.framework.analyzer.AnalyzerParameterImpl
      extended byjsystem.extensions.analyzers.text.AnalyzeTextParameter
All Implemented Interfaces:
AnalyzerParameter
Direct Known Subclasses:
CheckCounter, CheckDotTextCounter, CheckTextCounter, CountText, FindText, GetIntCounter, GetNumPorts, GetTextCounter

public abstract class AnalyzeTextParameter
extends AnalyzerParameterImpl

Abstract text analyzer for analyzers that uses String as input.


Field Summary
protected  String testText
           
protected  String toFind
           
 
Fields inherited from class jsystem.framework.analyzer.AnalyzerParameterImpl
analyzer, message, status, testAgainst, throwable, title
 
Constructor Summary
AnalyzeTextParameter(String toFind)
           
 
Method Summary
 void setTestAgainst(Object o)
          Set the test agains object.
 
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
 
Methods inherited from interface jsystem.framework.analyzer.AnalyzerParameter
analyze
 

Field Detail

toFind

protected String toFind

testText

protected String testText
Constructor Detail

AnalyzeTextParameter

public AnalyzeTextParameter(String toFind)
Method Detail

setTestAgainst

public void setTestAgainst(Object o)
Description copied from class: AnalyzerParameterImpl
Set the test agains object.

Specified by:
setTestAgainst in interface AnalyzerParameter
Overrides:
setTestAgainst in class AnalyzerParameterImpl
Parameters:
o - The object to analyze.