edu.wisc.cs.stego
Class Scanner

java.lang.Object
  |
  +--edu.wisc.cs.stego.Scanner
Direct Known Subclasses:
PPCTScanner, RadixKScanner, ScannerLoadTest

public abstract class Scanner
extends java.lang.Object

The Scanner class should be extended by a class intended for use with the a software watermarking package to implement a class which searches a heap profile for potential watermarks.


Constructor Summary
protected Scanner()
          This class is not instantiable but this must be accessable to subclasses.
 
Method Summary
static Scanner buildScanner(java.lang.String[] params)
          This method is a factory method for producing Scanner objects for use in a watermark detection program.
abstract  java.lang.String[] scanHeap(HeapProfile hp)
          In an implementation of a Scanner class, this method is called to perform the search for possible watermarks.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scanner

protected Scanner()
This class is not instantiable but this must be accessable to subclasses.
Method Detail

buildScanner

public static Scanner buildScanner(java.lang.String[] params)
This method is a factory method for producing Scanner objects for use in a watermark detection program. This method must be overridden by classes which inherit from this one. Even though it is not required by the sematics of the Java language, it is required by our specification for valid Scanner classes.
Parameters:
params - parameters for the initialization of the new Scanner object.
Returns:
a newly constructed and initialized Scanner object.
Throws:
NoSuchMethodError - if this is not overridden by the subclass.

scanHeap

public abstract java.lang.String[] scanHeap(HeapProfile hp)
In an implementation of a Scanner class, this method is called to perform the search for possible watermarks.
Parameters:
hp - a heap in which to search for possible watermarks.
Returns:
an array of strings which are possible watermarks.