Class LowerCaseConversion

  • All Implemented Interfaces:
    Conversion<java.lang.String,​java.lang.String>

    public class LowerCaseConversion
    extends java.lang.Object
    implements Conversion<java.lang.String,​java.lang.String>
    Converts an input String to its lower case representation The revert(String) implements the same behavior of execute(String). Null inputs produce null outputs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String execute​(java.lang.String input)
      Applies the toLowerCase operation in the input and returns the result.
      java.lang.String revert​(java.lang.String input)
      Applies the toLowerCase operation in the input and returns the result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LowerCaseConversion

        public LowerCaseConversion()
    • Method Detail

      • execute

        public java.lang.String execute​(java.lang.String input)
        Applies the toLowerCase operation in the input and returns the result. Equivalent to revert(String)
        Specified by:
        execute in interface Conversion<java.lang.String,​java.lang.String>
        Parameters:
        input - the String to be converted to lower case
        Returns:
        the lower case representation of the given input, or null if the input is null.
      • revert

        public java.lang.String revert​(java.lang.String input)
        Applies the toLowerCase operation in the input and returns the result. Equivalent to execute(String)
        Specified by:
        revert in interface Conversion<java.lang.String,​java.lang.String>
        Parameters:
        input - the String to be converted to lower case
        Returns:
        the lower case representation of the given input, or null if the input is null.