SandMark version 2.0


sandmark.watermark
Class DynamicWatermarker

java.lang.Object
  |
  +--sandmark.Algorithm
        |
        +--sandmark.watermark.GeneralWatermarker
              |
              +--sandmark.watermark.DynamicWatermarker
Direct Known Subclasses:
CT

public abstract class DynamicWatermarker
extends GeneralWatermarker

A DynamicWatermarker object encapsulates code for running a particular dynamic watermark algorithm.


Field Summary
(package private) static ConfigProperties configProps
           
 
Constructor Summary
DynamicWatermarker()
          Constructs a watermarker.
 
Method Summary
abstract  void embed(java.util.Properties props)
           
abstract  void endTracing(java.util.Properties props, java.util.Vector tracePoints)
          This routine should be called when the tracing run has completed. tracePoints is a vector of generated trace points generated by the iterator returned by startTracing.
static java.lang.String getAboutHTML()
          Specifies the description given in the About page for Watermarking.
static java.lang.String getHelpURL()
          Specifies the URL of the Help page for Watermarking.
static ConfigProperties getProperties()
          Get the GENERAL properties of watermark
static void setProperties(ConfigProperties props)
          Set the GENERAL properties of watermark
abstract  void startRecognition(java.util.Properties props)
          Start a recognition run of the program.
abstract  java.util.Iterator startTracing(java.util.Properties props)
          Start a tracing run of the program.
abstract  void stopRecognition(java.util.Properties props)
          Force the end to a tracing run of the program.
abstract  void stopTracing(java.util.Properties props)
          Force the end to a tracing run of the program.
abstract  void waitForTracingToComplete()
           
abstract  java.util.Iterator watermarks()
          Return an iterator object that will generate the watermarks found in the program.
 
Methods inherited from class sandmark.Algorithm
getAlgHTML, getAlgURL, getAuthor, getAuthorEmail, getConfigProperties, getDescription, getLongName, getMutations, getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPrerequisites, getPresuggestions, getReferences, getShortName, setConfigProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configProps

static ConfigProperties configProps
Constructor Detail

DynamicWatermarker

public DynamicWatermarker()
Constructs a watermarker.

Method Detail

startTracing

public abstract java.util.Iterator startTracing(java.util.Properties props)
                                         throws TracingException
Start a tracing run of the program. Return an iterator object that will generate the trace points encountered by the program.

TracingException

waitForTracingToComplete

public abstract void waitForTracingToComplete()
                                       throws TracingException
TracingException

endTracing

public abstract void endTracing(java.util.Properties props,
                                java.util.Vector tracePoints)
                         throws TracingException
This routine should be called when the tracing run has completed. tracePoints is a vector of generated trace points generated by the iterator returned by startTracing.

TracingException

stopTracing

public abstract void stopTracing(java.util.Properties props)
                          throws TracingException
Force the end to a tracing run of the program.

TracingException

embed

public abstract void embed(java.util.Properties props)

startRecognition

public abstract void startRecognition(java.util.Properties props)
                               throws TracingException
Start a recognition run of the program.

TracingException

watermarks

public abstract java.util.Iterator watermarks()
Return an iterator object that will generate the watermarks found in the program.


stopRecognition

public abstract void stopRecognition(java.util.Properties props)
                              throws TracingException
Force the end to a tracing run of the program.

TracingException

getProperties

public static ConfigProperties getProperties()
Description copied from class: GeneralWatermarker
Get the GENERAL properties of watermark


setProperties

public static void setProperties(ConfigProperties props)
Description copied from class: GeneralWatermarker
Set the GENERAL properties of watermark


getAboutHTML

public static java.lang.String getAboutHTML()
Description copied from class: GeneralWatermarker
Specifies the description given in the About page for Watermarking.

Returns:
an HTML formatted description of the algorithm.

getHelpURL

public static java.lang.String getHelpURL()
Description copied from class: GeneralWatermarker
Specifies the URL of the Help page for Watermarking.

Returns:
the Help page URL

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002