Interface ITextService
- All Known Implementing Classes:
TextService
public interface ITextService
-
Method Summary
Modifier and TypeMethodDescriptiontextObfuscation(String text) Responsible for hiding the content of a text by replacing all values with X except the last 4 characterstextObfuscation(String text, String replaceValue, int visibleLength)
-
Method Details
-
textObfuscation
Responsible for hiding the content of a text by replacing all values with X except the last 4 characters- Parameters:
text- text to be processed- Returns:
- the text with the hidden characters,
- Throws:
tech.prodigio.core.libcorebase.entity.UncodedError
-
textObfuscation
String textObfuscation(String text, String replaceValue, int visibleLength) throws tech.prodigio.core.libcorebase.entity.UncodedError - Parameters:
text- text to be processedreplaceValue- value that will replace the other charactersvisibleLength- how much of the original string you want to display- Returns:
- the text with the hidden characters,
- Throws:
tech.prodigio.core.libcorebase.entity.UncodedError
-