com.pelzer.util
Class ObfuscatedString

java.lang.Object
  extended by com.pelzer.util.ObfuscatedString

public class ObfuscatedString
extends Object

Basically used as a marker inside a Constant file to make sure the system clarifies the underlying info using the ObfuscationManager. So if you want to have a password field in a constants file, for example, you'd have it be an ObfuscatedString, then refer to it as Constants.PASSWORD.toString()


Constructor Summary
ObfuscatedString(String mangledString)
           
 
Method Summary
 String clarify()
          Synonym to toString()
 String toString()
          this class stores its data in mangled form, so if you constantly need to access this, you should cache it locally, to avoid repeated clarification runs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObfuscatedString

public ObfuscatedString(String mangledString)
Method Detail

toString

public String toString()
this class stores its data in mangled form, so if you constantly need to access this, you should cache it locally, to avoid repeated clarification runs.

Overrides:
toString in class Object

clarify

public String clarify()
Synonym to toString()



Copyright © 2012. All Rights Reserved.