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.
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 |
END_TOKEN
public static final char END_TOKEN
- See Also:
- Constant Field Values
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.
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