public class SimpleObfuscator implements StringObfuscator
Simple implementation for interface StringObfuscator.
interface StringObfuscatorpublic SimpleObfuscator(@NotNull
kotlin.text.Regex regex,
@NotNull
java.lang.String replacement,
@NotNull
java.lang.String displayed,
@NotNull
kotlin.text.Regex replacementRegexp)
Simple implementation for interface StringObfuscator.
regex - The search regexp.replacement - The replacement string - should have the same size than the replaced string.displayed - Used in StringObfuscatorMode.display mode.replacementRegexp - To match the replacement string in StringObfuscatorMode.display mode.interface StringObfuscator@NotNull public kotlin.text.Regex getRegex()
The search regexp.
@NotNull public java.lang.String getReplacement()
The replacement string
- should have the same size than the replaced string.
@NotNull public java.lang.String getDisplayed()
Used in
StringObfuscatorMode.display mode.
@NotNull public kotlin.text.Regex getReplacementRegexp()
To match the replacement string in
StringObfuscatorMode.display mode.
@NotNull public kotlin.text.Regex component1()
The search regexp.
@NotNull public java.lang.String component2()
The replacement string
- should have the same size than the replaced string.
@NotNull public java.lang.String component3()
Used in
StringObfuscatorMode.display mode.
@NotNull public kotlin.text.Regex component4()
To match the replacement string in
StringObfuscatorMode.display mode.
@NotNull public SimpleObfuscator copy(@NotNull kotlin.text.Regex regex, @NotNull java.lang.String replacement, @NotNull java.lang.String displayed, @NotNull kotlin.text.Regex replacementRegexp)
Simple implementation for interface StringObfuscator.
interface StringObfuscator@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)