|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.domain.Password oracle.odi.domain.util.ObfuscatedString
public final class ObfuscatedString
An obfuscated string.
ODI domain layer uses this class to model a string that is obfuscated. Typical obfuscated strings are passwords and credentials.
An instance of ObfuscatedString
doesn't offer any additional method and primarily
provides type safety and is a convenient holder for a string that is obfuscated.
Method Summary | |
---|---|
static ObfuscatedString |
obfuscate(java.lang.String pStringToObfuscate)
Creates an ObfuscatedString instance from the given not obfuscated string. |
java.lang.String |
toString()
Returns a String object representing this ObfuscatedString. |
static ObfuscatedString |
valueOf(java.lang.String pObfuscatedString)
Creates an ObfuscatedString instance from the string standard representation as
described in the toString() method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ObfuscatedString obfuscate(java.lang.String pStringToObfuscate)
ObfuscatedString
instance from the given not obfuscated string.
Note that the given string must not be null
. In order to create an
ObfuscatedString
for an empty password, the empty string (i.e. ""
)
must be used.
pStringToObfuscate
- the string to obfuscate
ObfuscatedString
instance
java.lang.IllegalArgumentException
- if the given string is null
public java.lang.String toString()
String
object representing this ObfuscatedString.
toString
in class oracle.odi.domain.Password
Object.toString()
public static ObfuscatedString valueOf(java.lang.String pObfuscatedString)
ObfuscatedString
instance from the string standard representation as
described in the toString()
method.
pObfuscatedString
- the already obfuscated String
ObfuscatedString
holding the given obfuscated string
java.lang.IllegalArgumentException
- if the given string is null
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |