proguard.wtk
Class ProGuardObfuscator
java.lang.Object
proguard.wtk.ProGuardObfuscator
- All Implemented Interfaces:
- com.sun.kvem.environment.Obfuscator
- public class ProGuardObfuscator
- extends Object
- implements com.sun.kvem.environment.Obfuscator
ProGuard plug-in for the J2ME Wireless Toolkit.
In order to integrate this plug-in in the toolkit, you'll have to put the
following lines in the file
{j2mewtk.dir}/wtklib/Linux/ktools.properties or
{j2mewtk.dir}\wtklib\Windows\ktools.properties (whichever is
applicable).
obfuscator.runner.class.name: proguard.wtk.ProGuardObfuscator
obfuscator.runner.classpath: /usr/local/java/proguard1.6/lib/proguard.jar
Please make sure the class path is set correctly for your system.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProGuardObfuscator
public ProGuardObfuscator()
createScriptFile
public void createScriptFile(File jadFile,
File projectDir)
- Specified by:
createScriptFile in interface com.sun.kvem.environment.Obfuscator
run
public void run(File obfuscatedJarFile,
String wtkBinDir,
String wtkLibDir,
String jarFileName,
String projectDirName,
String classPath,
String emptyAPI)
throws IOException
- Specified by:
run in interface com.sun.kvem.environment.Obfuscator
- Throws:
IOException