SandMark version 3.0


sandmark.obfuscate
Class ObfuscationConfigMap

java.lang.Object
  |
  +--sandmark.obfuscate.ObfuscationConfigMap

public class ObfuscationConfigMap
extends java.lang.Object


Method Summary
 ObfuscationConfigInfo getConfigFor(ApplicationObject obj)
           
 ObfuscationConfigInfo getConfigFor(java.lang.String s)
           
static ObfuscationConfigMap getCurrentConfig()
           
static ObfuscationConfigMap initializeConfigMap(ClassFileCollection cfc)
          This method should be called when a jar file is loaded into SandMark for obfuscation.
static void removeSettingsFromMap(ClassFileCollection cfc)
          This method should be called when the class file collection will never be used again (ie in the call to cfc.close, which it is).
 void setConfigFor(java.lang.String s, ObfuscationConfigInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfigFor

public ObfuscationConfigInfo getConfigFor(ApplicationObject obj)

getConfigFor

public ObfuscationConfigInfo getConfigFor(java.lang.String s)

setConfigFor

public void setConfigFor(java.lang.String s,
                         ObfuscationConfigInfo info)

initializeConfigMap

public static ObfuscationConfigMap initializeConfigMap(ClassFileCollection cfc)
This method should be called when a jar file is loaded into SandMark for obfuscation. If obfuscation settings have been created for this jar file, the old settings will be switched back as the active settings. If this is the first time this jar file has been opened, new settings will be created and made active. It is safe to call this method repeatedly.

Returns:
the current settings map

removeSettingsFromMap

public static void removeSettingsFromMap(ClassFileCollection cfc)
This method should be called when the class file collection will never be used again (ie in the call to cfc.close, which it is).


getCurrentConfig

public static ObfuscationConfigMap getCurrentConfig()

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003