Class UpperCaseConversion
- java.lang.Object
-
- com.univocity.parsers.conversions.UpperCaseConversion
-
- All Implemented Interfaces:
Conversion<java.lang.String,java.lang.String>
public class UpperCaseConversion extends java.lang.Object implements Conversion<java.lang.String,java.lang.String>
Converts an input String to its upper case representation Therevert(String)
implements the same behavior ofexecute(String)
. Null inputs produce null outputs.
-
-
Constructor Summary
Constructors Constructor Description UpperCaseConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
execute(java.lang.String input)
Applies the toUpperCase operation in the input and returns the result.java.lang.String
revert(java.lang.String input)
Applies the toUpperCase operation in the input and returns the result.
-
-
-
Method Detail
-
execute
public java.lang.String execute(java.lang.String input)
Applies the toUpperCase operation in the input and returns the result. Equivalent torevert(String)
- Specified by:
execute
in interfaceConversion<java.lang.String,java.lang.String>
- Parameters:
input
- the String to be converted to upper case- Returns:
- the upper 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 toUpperCase operation in the input and returns the result. Equivalent toexecute(String)
- Specified by:
revert
in interfaceConversion<java.lang.String,java.lang.String>
- Parameters:
input
- the String to be converted to upper case- Returns:
- the upper case representation of the given input, or null if the input is null.
-
-