com.univocity.parsers.conversions
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.
- Author:
- uniVocity Software Pty Ltd - parsers@univocity.com
|
Method Summary |
String |
execute(String input)
Applies the toLowerCase operation in the input and returns the result. |
String |
revert(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 |
LowerCaseConversion
public LowerCaseConversion()
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.
Copyright © 2017 uniVocity Software Pty Ltd. All rights reserved.