Enum Class IsoObfuscate

java.lang.Object
java.lang.Enum<IsoObfuscate>
cl.netswitch.iso.iso8583.IsoObfuscate
All Implemented Interfaces:
Serializable, Comparable<IsoObfuscate>, Constable

public enum IsoObfuscate extends Enum<IsoObfuscate>
Obfuscation alternatives for IsoField values.
  • Enum Constant Details

    • OFF

      public static final IsoObfuscate OFF
      Do not obfuscate.
    • KL4

      public static final IsoObfuscate KL4
      Obfuscate all except the last 4 characters.
    • ALL

      public static final IsoObfuscate ALL
      Obfuscate all characters.
  • Method Details

    • values

      public static IsoObfuscate[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IsoObfuscate valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • obfuscate

      public String obfuscate(Object value)
      Returns the obfuscated version of the supplied object value.
      Parameters:
      value - the object value to obfuscate (can be null).
      Returns:
      the obfuscated version of the supplied object value.