|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.Algorithm | +--sandmark.watermark.GeneralWatermarker | +--sandmark.watermark.DynamicWatermarker | +--sandmark.watermark.ct.CT
A StaticWatermarker object encapsulates code for running a particular static watermark algorithm.
Nested Class Summary | |
(package private) class |
CT.Watermarks
This interator wraps around the watermark iterator constructed by sandmark.watermark.ct.recognize.Recongizer. |
Field Summary | |
(package private) Recognizer |
recognizer
|
(package private) Tracer |
tracer
|
Fields inherited from class sandmark.watermark.DynamicWatermarker |
|
Constructor Summary | |
CT()
Constructs a watermarker with a given label. |
Method Summary | |
void |
embed(java.util.Properties props)
Embed a watermark value into the program. |
void |
endTracing(java.util.Properties props,
java.util.Vector tracePoints)
This routine is called when the tracing run has completed. tracePoints is an array of trace points generated by sandmark.watermark.ct.trace.Tracer. |
java.lang.String |
getAlgHTML()
Gives a description of what the algorithm does. |
java.lang.String |
getAlgURL()
Specifies the URL of where the user can find more information about the algorithm. |
java.lang.String |
getAuthor()
Specifies the author of the algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the email address author of the algorithm. |
ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
getDescription()
Specifies what this algorithm does, briefly. |
java.lang.String |
getLongName()
Returns this watermarker's long name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
java.lang.String |
getShortName()
Returns this watermarker's short name. |
(package private) static java.util.Properties |
preprocess()
|
void |
setConfigProperties(ConfigProperties p)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
void |
startRecognition(java.util.Properties props)
Start a recognition run of the program. |
java.util.Iterator |
startTracing(java.util.Properties props)
Start a tracing run of the program. |
void |
stopRecognition(java.util.Properties props)
Force the end to a tracing run of the program. |
void |
stopTracing(java.util.Properties props)
Force an end to a tracing run of the program. |
void |
waitForTracingToComplete()
|
java.util.Iterator |
watermarks()
Return an iterator object that will generate the watermarks found in the program. |
Methods inherited from class sandmark.watermark.DynamicWatermarker |
getAboutHTML, getHelpURL, getProperties, setProperties |
Methods inherited from class sandmark.Algorithm |
getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPrerequisites, getPresuggestions, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
Tracer tracer
Recognizer recognizer
Constructor Detail |
public CT()
Method Detail |
public java.lang.String getShortName()
getShortName
in class Algorithm
public java.lang.String getLongName()
getLongName
in class Algorithm
public java.lang.String getAuthor()
Algorithm
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail
in class Algorithm
public java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
in class Algorithm
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public void setConfigProperties(ConfigProperties p)
Algorithm
setConfigProperties
in class Algorithm
p
- the parameters for this run of the algorithmpublic java.lang.String getAlgHTML()
Algorithm
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
Algorithm
getAlgURL
in class Algorithm
static java.util.Properties preprocess()
public java.util.Iterator startTracing(java.util.Properties props) throws TracingException
startTracing
in class DynamicWatermarker
TracingException
public void waitForTracingToComplete() throws TracingException
waitForTracingToComplete
in class DynamicWatermarker
TracingException
public void endTracing(java.util.Properties props, java.util.Vector tracePoints) throws TracingException
endTracing
in class DynamicWatermarker
TracingException
public void stopTracing(java.util.Properties props) throws TracingException
stopTracing
in class DynamicWatermarker
TracingException
public void embed(java.util.Properties props)
embed
in class DynamicWatermarker
public void startRecognition(java.util.Properties props) throws TracingException
startRecognition
in class DynamicWatermarker
TracingException
public java.util.Iterator watermarks()
watermarks
in class DynamicWatermarker
public void stopRecognition(java.util.Properties props) throws TracingException
stopRecognition
in class DynamicWatermarker
TracingException
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |