SandMark version 2.0


sandmark.watermark.renamefieldsmethods
Class NameEmbedder

java.lang.Object
  |
  +--sandmark.watermark.renamefieldsmethods.NameEmbedder

public class NameEmbedder
extends java.lang.Object

Embeds a watermark in a JAR through renaming fields and methods.


Field Summary
static char END_TOKEN
           
 
Constructor Summary
NameEmbedder(ClassFileCollection _cfc, java.util.jar.JarOutputStream _output, java.util.ArrayList methodInfos)
          Constructs a new NameEmbedder for the given JAR input file which will dump its output to the given output JAR file.
 
Method Summary
 void embed(java.lang.String watermark)
          Embeds the given string watermark in this embedder's JAR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END_TOKEN

public static final char END_TOKEN
See Also:
Constant Field Values
Constructor Detail

NameEmbedder

public NameEmbedder(ClassFileCollection _cfc,
                    java.util.jar.JarOutputStream _output,
                    java.util.ArrayList methodInfos)
             throws java.io.IOException
Constructs a new NameEmbedder for the given JAR input file which will dump its output to the given output JAR file.

Method Detail

embed

public void embed(java.lang.String watermark)
           throws java.io.IOException
Embeds the given string watermark in this embedder's JAR.

java.io.IOException

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002