applications
Class TestAnalyzer
java.lang.Object
applications.TestAnalyzer
public class TestAnalyzer
- extends java.lang.Object
TestAnalyzer.java tests any executable analyzer -- that is, any class
that implements the hcrypto.Analyzer interface. Such classes are
located in either of two packages:
hcrypto.analyzer -- Part of the hcrypto package
pluginanalyzers -- Plugin analyzers
To compile and run this program you need to specify the complete name of
the analyzer -- e.g., hcrypto.analyzer.CaesarAnalyzer or analyzers.NullAnalyzer.
To compile: javac -classpath hcryptoj.jar:. TestAnalyzer.java
To run: java -classpath hcryptoj.jar:. TestAnalyzer analyzerclass cryptotext
Examples: java -classpath hcryptoj.jar:. TestAnalyzer hcrypto.analyzer.IndexOfCoincidence cryptotext
: java -classpath hcryptoj.jar:. TestAnalyzer hcrypto.analyzer.DigramAnalyzer cryptotext
: java -classpath hcryptoj.jar:. TestAnalyzer hcrypto.analyzer.CaesarAnalyzer cryptotext
: java -classpath hcryptoj.jar:. TestAnalyzer analyzers.NullAnalyzer cryptotext
: java -classpath hcryptoj.jar:. TestAnalyzer analyzers.TestAnalyzer cryptotext
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAnalyzer
public TestAnalyzer()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception