SandMark version 3.0


sandmark.obfuscate
Class ObfuscationConfigInfo

java.lang.Object
  |
  +--sandmark.obfuscate.ObfuscationConfigInfo
All Implemented Interfaces:
java.lang.Cloneable

public class ObfuscationConfigInfo
extends java.lang.Object
implements java.lang.Cloneable

Encapsulates the obfuscation user configuration information for one application object. This information includes the level of obfuscation that is desired for this object, whether the object is involved in threaded code or code that uses reflection, and other properties that affect what obfuscations should be run on the object.

Since:
SandMark 3.1
Author:
Kelly Heffner and Steven Kobes

Field Summary
static int APP
           
static int CLASS
           
static int METHOD
           
 
Constructor Summary
ObfuscationConfigInfo(int type)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String[] getAlgoNames()
           
 float getObfuscationLevel()
           
 float getPerformanceCritical()
           
 boolean getReflection()
           
 boolean getThreaded()
           
 boolean isAlgoOn(Algorithm a)
           
 boolean isAlgoOn(java.lang.String a)
           
 void setAlgo(java.lang.String a, boolean b)
           
 void setObfuscationLevel(float f)
           
 void setPerformanceCritical(float f)
           
 void setReflection(boolean b)
           
 void setThreaded(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD

public static int METHOD

CLASS

public static int CLASS

APP

public static int APP
Constructor Detail

ObfuscationConfigInfo

public ObfuscationConfigInfo(int type)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
java.lang.CloneNotSupportedException

setThreaded

public void setThreaded(boolean b)

setReflection

public void setReflection(boolean b)

setPerformanceCritical

public void setPerformanceCritical(float f)

setObfuscationLevel

public void setObfuscationLevel(float f)

getThreaded

public boolean getThreaded()

getReflection

public boolean getReflection()

getPerformanceCritical

public float getPerformanceCritical()

getObfuscationLevel

public float getObfuscationLevel()

isAlgoOn

public boolean isAlgoOn(java.lang.String a)

isAlgoOn

public boolean isAlgoOn(Algorithm a)

setAlgo

public void setAlgo(java.lang.String a,
                    boolean b)

getAlgoNames

public java.lang.String[] getAlgoNames()

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003