|
SandMark version 2.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.StaticWatermarker | +--sandmark.watermark.hattrick.HatTrick
Nested Class Summary | |
(package private) class |
HatTrick.Recognizer
|
Field Summary | |
(package private) static ConfigProperties |
configProps
|
(package private) static java.lang.String[][] |
props
|
Constructor Summary | |
HatTrick()
|
Method Summary | |
void |
embed(ClassFileCollection cfc,
java.util.jar.JarOutputStream output,
java.util.Properties props)
Embed a watermark value into the program. |
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. |
ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
static java.math.BigInteger |
getDigitFromSig(java.lang.String signature)
|
java.lang.String |
getLongName()
Specifies this algorithm's long name. |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
java.util.Iterator |
recognize(java.util.Properties props)
|
void |
setConfigProperties(ConfigProperties props)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
Methods inherited from class sandmark.watermark.StaticWatermarker |
getAboutHTML, getHelpURL, getProperties, setProperties |
Methods inherited from class sandmark.Algorithm |
getAuthor, getAuthorEmail, getDescription, getMutations, 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 |
static java.lang.String[][] props
static ConfigProperties configProps
Constructor Detail |
public HatTrick()
Method Detail |
public static java.math.BigInteger getDigitFromSig(java.lang.String signature)
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public java.lang.String getLongName()
Algorithm
getLongName
in class Algorithm
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public void setConfigProperties(ConfigProperties props)
Algorithm
setConfigProperties
in class Algorithm
props
- 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
public void embed(ClassFileCollection cfc, java.util.jar.JarOutputStream output, java.util.Properties props) throws WatermarkingException, java.io.IOException
StaticWatermarker
embed
in class StaticWatermarker
WatermarkingException
java.io.IOException
public java.util.Iterator recognize(java.util.Properties props) throws WatermarkingException, java.io.IOException
recognize
in class StaticWatermarker
WatermarkingException
java.io.IOException
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |