net.sf.anupam.csv.formatters
Class AllLowerCaseFormatter
java.lang.Object
net.sf.anupam.csv.formatters.AllLowerCaseFormatter
- All Implemented Interfaces:
- CSVFieldFormatter
final class AllLowerCaseFormatter
- extends Object
- implements CSVFieldFormatter
A Formatter
which transforms the input into all
lower-case and returns the lower-case version.
The declarative name of this formatter is allLowerCase
.
- Since:
- 1.5
- Version:
- $Revision: 1.2 $
- Author:
- Anupam Sengupta
- See Also:
AllUpperCaseFormatter
- CSV Formatter Mapping:
CSV Formatter Name: "allLowerCase" |
Method Summary |
String |
format(String value)
Formats the value and transforms the result to all lower case. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllLowerCaseFormatter
public AllLowerCaseFormatter()
- Constructor for AllLowerCaseFormatter.
format
public String format(String value)
- Formats the value and transforms the result to all lower case.
- Specified by:
format
in interface CSVFieldFormatter
- Parameters:
value
- the value to be transformed
- Returns:
- the lower case transformed value
- See Also:
CSVFieldFormatter.format(String)
© Anupam Sengupta 2005