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