|
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.renamefieldsmethods.RenameFieldsMethods
This algorithm embeds a watermark within the method names of the user's program.
Nested Class Summary | |
(package private) class |
RenameFieldsMethods.Recognizer
This class is an iterator which generates the watermarks found in the program. |
Field Summary | |
(package private) static ConfigProperties |
configProps
|
(package private) static java.lang.String[][] |
props
|
Constructor Summary | |
RenameFieldsMethods()
Constructs a watermarker. |
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()
Gets the HTML codes of the About page. |
java.lang.String |
getAlgURL()
Gets the URL of the Help page |
java.lang.String |
getAuthor()
Specifies the author of this algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the author's email address. |
ConfigProperties |
getConfigProperties()
Gets the properties of RenameFieldsMethods algorithm |
java.lang.String |
getDescription()
Specifies what this algorithm does. |
java.lang.String |
getLongName()
Returns this watermarker's long name. |
ModificationProperty[] |
getMutations()
Returns a list of the changes that this algorithm makes to the code. |
RequisiteProperty[] |
getPostprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code after this algorithm is run. |
java.lang.String |
getShortName()
Returns this watermarker'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, 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 RenameFieldsMethods()
Method Detail |
public java.lang.String getShortName()
getShortName
in class Algorithm
public java.lang.String getLongName()
getLongName
in class Algorithm
public ConfigProperties getConfigProperties()
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()
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
getAlgURL
in class Algorithm
public java.lang.String getAuthor()
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
getAuthorEmail
in class Algorithm
public java.lang.String getDescription()
getDescription
in class Algorithm
public ModificationProperty[] getMutations()
getMutations
in class Algorithm
public RequisiteProperty[] getPostprohibited()
Algorithm
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPostprohibited
in class Algorithm
public void embed(ClassFileCollection cfc, java.util.jar.JarOutputStream output, java.util.Properties props) throws WatermarkingException, java.io.IOException
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 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 |