Class TruncationTransform


  • @Deprecated
    public class TruncationTransform
    extends Transform
    Deprecated.
    since 12.0.0
    The TruncationTransform class represents a Transform that remove all subsequent characters after a given number of characters have been obtained.
    • Constructor Detail

      • TruncationTransform

        public TruncationTransform()
        Deprecated.
        This is the default constructor.
      • TruncationTransform

        public TruncationTransform​(int length)
        Deprecated.
        Constructs TruncationTransform object with length.
        Parameters:
        length - all subsequent characters after the length will be removed
    • Method Detail

      • transform

        public String transform​(String password)
        Deprecated.
        Transforms password.
        Specified by:
        transform in class Transform
        Parameters:
        password - original password
        Returns:
        transformed password