Class LowerCaseConversion

java.lang.Object
com.univocity.parsers.conversions.LowerCaseConversion
All Implemented Interfaces:
Conversion<String,String>

public class LowerCaseConversion extends Object implements Conversion<String,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.
  • Constructor Details

    • LowerCaseConversion

      public LowerCaseConversion()
  • Method Details

    • execute

      public String execute(String input)
      Applies the toLowerCase operation in the input and returns the result. Equivalent to revert(String)
      Specified by:
      execute in interface Conversion<String,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 String revert(String input)
      Applies the toLowerCase operation in the input and returns the result. Equivalent to execute(String)
      Specified by:
      revert in interface Conversion<String,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.