Class UpperCaseConversion
java.lang.Object
com.univocity.parsers.conversions.UpperCaseConversion
- All Implemented Interfaces:
Conversion<String,
String>
Converts an input String to its upper case representation
The
revert(String)
implements the same behavior of execute(String)
. Null inputs produce null outputs.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UpperCaseConversion
public UpperCaseConversion()
-
-
Method Details
-
execute
Applies the toUpperCase operation in the input and returns the result. Equivalent torevert(String)
- Specified by:
execute
in interfaceConversion<String,
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
Applies the toUpperCase operation in the input and returns the result. Equivalent toexecute(String)
- Specified by:
revert
in interfaceConversion<String,
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.
-