Interface EncryptUtils.Transformer<E extends Exception>

  • Enclosing class:
    EncryptUtils
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface EncryptUtils.Transformer<E extends Exception>
    A transformer for encrypting and decrypting, which can throw a checked exception.

    The ability to throw a checked exception is important to be able to support other existing encoders/decoders. See, for example, org.pentaho.platform.api.util.IPasswordService.

    • Method Detail

      • transform

        String transform​(String value)
                  throws E extends Exception
        Transforms a given string.
        Parameters:
        value - The value to transform.
        Returns:
        The transformed value.
        Throws:
        E extends Exception