public static interface Obfuscator.ObfuscatorFunction
CharSequence
s.Modifier and Type | Method and Description |
---|---|
CharSequence |
obfuscateText(CharSequence s,
int start,
int end)
Obfuscates parts of the contents of a
CharSequence . |
CharSequence obfuscateText(CharSequence s, int start, int end)
CharSequence
.s
- The CharSequence
with the contents to obfuscate.start
- The index in the CharSequence
to start obfuscating, inclusive.end
- The index in the CharSequence
to end obfuscating, exclusive.NullPointerException
- If the given CharSequence
is null
.IndexOutOfBoundsException
- If the given start index is negative or larger than the given end index,
or if the given end index is larger than the given CharSequence
's length.Copyright © 2020–2023. All rights reserved.