Interface ITextService

All Known Implementing Classes:
TextService

public interface ITextService
  • Method Summary

    Modifier and Type
    Method
    Description
    Responsible for hiding the content of a text by replacing all values with X except the last 4 characters
    textObfuscation(String text, String replaceValue, int visibleLength)
     
  • Method Details

    • textObfuscation

      String textObfuscation(String text) throws tech.prodigio.core.libcorebase.entity.UncodedError
      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 processed
      replaceValue - value that will replace the other characters
      visibleLength - how much of the original string you want to display
      Returns:
      the text with the hidden characters,
      Throws:
      tech.prodigio.core.libcorebase.entity.UncodedError