Package | Description |
---|---|
com.github.robtimus.obfuscation |
Contains classes and interfaces for obfuscating text.
|
Modifier and Type | Method and Description |
---|---|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.atLeastFromEnd(int count)
Sets the minimum number of characters from the end that need to be obfuscated.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.atLeastFromStart(int count)
Sets the minimum number of characters from the start that need to be obfuscated.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.keepAtEnd(int count)
Sets the number of characters at the end that created obfuscators will skip when obfuscating.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.keepAtStart(int count)
Sets the number of characters at the start that created obfuscators will skip when obfuscating.
|
static Obfuscator.PortionBuilder |
Obfuscator.portion()
Returns a builder for obfuscators that obfuscate a specific portion of their input.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.withDefaults()
Specifies that the default settings should be restored.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.withFixedLength(int fixedObfuscatedLength)
Deprecated.
The total length of obfuscated contents can vary when using this setting, making it possible in certain cases to find the
original value that was obfuscated. Use
withFixedTotalLength(int) instead. |
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.withFixedTotalLength(int fixedTotalLength)
Sets or removes the fixed total length to use for obfuscated contents.
|
Obfuscator.PortionBuilder |
Obfuscator.PortionBuilder.withMaskChar(char maskChar)
Sets the char that created obfuscators use for obfuscating.
|
Modifier and Type | Method and Description |
---|---|
<R> R |
Obfuscator.PortionBuilder.transform(Function<? super Obfuscator.PortionBuilder,? extends R> f)
This method allows the application of a function to this builder.
|
Copyright © 2020–2023. All rights reserved.