|
![]() 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.StaticWatermarker
|
+--sandmark.watermark.bogusexp.BogusExpression
| Nested Class Summary | |
(package private) class |
BogusExpression.Recognizer
|
| Field Summary | |
(package private) static ConfigProperties |
configProps
|
(package private) static java.lang.String[][] |
props
|
| Constructor Summary | |
BogusExpression()
|
|
| 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. |
java.lang.String |
getAuthor()
Specifies the author of this algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the author's email address. |
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. |
java.lang.String |
getLongName()
Specifies this algorithm's long name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
RequisiteProperty[] |
getPostprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code after this algorithm is run. |
RequisiteProperty[] |
getPostrequisities()
|
RequisiteProperty[] |
getPostsuggestions()
Specifies a list of properties of algorithms that should be run on the target code after this algorithm is run, but are not necessary. |
RequisiteProperty[] |
getPreprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code before this algorithm is run. |
RequisiteProperty[] |
getPrerequisities()
|
RequisiteProperty[] |
getPresuggestions()
Specifies a list of properties of algorithms that should be run on the target code before this algorithm is run, but are not necessary. |
java.lang.String[] |
getReferences()
Specifies any references that discuss the ideas in this algorithm. |
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 |
getPostrequisites, getPrerequisites |
| 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 BogusExpression()
| Method Detail |
public java.lang.String getShortName()
Algorithm
getShortName in class Algorithmpublic java.lang.String getLongName()
Algorithm
getLongName in class Algorithmpublic ConfigProperties getConfigProperties()
Algorithm
getConfigProperties in class Algorithmpublic void setConfigProperties(ConfigProperties props)
Algorithm
setConfigProperties in class Algorithmprops - the parameters for this run of the algorithmpublic java.lang.String getAlgHTML()
Algorithm
getAlgHTML in class Algorithmpublic java.lang.String getAlgURL()
Algorithm
getAlgURL in class Algorithmpublic java.lang.String getAuthor()
getAuthor in class Algorithmpublic java.lang.String getAuthorEmail()
getAuthorEmail in class Algorithmpublic java.lang.String getDescription()
getDescription in class Algorithmpublic ModificationProperty[] getMutations()
AlgorithmModificationProperty.
getMutations in class Algorithmpublic RequisiteProperty[] getPostprohibited()
AlgorithmRequisiteProperty for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPostprohibited in class Algorithmpublic RequisiteProperty[] getPostrequisities()
public RequisiteProperty[] getPostsuggestions()
AlgorithmRequisiteProperty for more details.
This method should only be overridden if the algorithm has a nonempty
set of post-suggestions.
getPostsuggestions in class Algorithmpublic RequisiteProperty[] getPreprohibited()
AlgorithmRequisiteProperty for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPreprohibited in class Algorithmpublic RequisiteProperty[] getPrerequisities()
public RequisiteProperty[] getPresuggestions()
AlgorithmRequisiteProperty for more details.
This method should only be overridden if the algorithm has a nonempty
set of pre-suggestions.
getPresuggestions in class Algorithmpublic java.lang.String[] getReferences()
Algorithm
getReferences 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 StaticWatermarkerWatermarkingException
java.io.IOException
public java.util.Iterator recognize(java.util.Properties props)
throws WatermarkingException,
java.io.IOException
recognize in class StaticWatermarkerWatermarkingException
java.io.IOException
|
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 | |||||||||