pluginanalyzers
Class TestAnalyzer

java.lang.Object
  extended by hcrypto.analyzer.CryptoAnalyzer
      extended by pluginanalyzers.TestAnalyzer
All Implemented Interfaces:
Analyzer, java.lang.Runnable

public class TestAnalyzer
extends CryptoAnalyzer

Description: An implementation of a trivial Analyzer plugin.


Field Summary
 
Fields inherited from class hcrypto.analyzer.CryptoAnalyzer
PERMUTATION, PLAYFAIR, RAILFENCE, SIMPLESUB
 
Fields inherited from interface hcrypto.analyzer.Analyzer
DECIPHER_LIMIT
 
Constructor Summary
TestAnalyzer()
           
TestAnalyzer(AnalyzerFrame f)
           
 
Method Summary
 java.lang.String getReport()
          getReport() is part of Analyzer interface.
 void run()
          run() is part of Analyzer interface.
 void setup(java.lang.String text)
          setup() is part of Analyzer interface.
 java.lang.String toString()
          toString() returns the result
 
Methods inherited from class hcrypto.analyzer.CryptoAnalyzer
prettyPrint, setup, stopThread, threadIsStopped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAnalyzer

public TestAnalyzer()

TestAnalyzer

public TestAnalyzer(AnalyzerFrame f)
Method Detail

setup

public void setup(java.lang.String text)
setup() is part of Analyzer interface. It passes in the pointer to the text.

Specified by:
setup in interface Analyzer
Overrides:
setup in class CryptoAnalyzer

run

public void run()
run() is part of Analyzer interface. It performs the analysis.

Specified by:
run in interface Analyzer
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class CryptoAnalyzer

getReport

public java.lang.String getReport()
getReport() is part of Analyzer interface. It returns the result as a string.

Specified by:
getReport in interface Analyzer
Overrides:
getReport in class CryptoAnalyzer

toString

public java.lang.String toString()
toString() returns the result

Overrides:
toString in class CryptoAnalyzer