CSVObjects Framework

net.sf.anupam.csv.formatters
Class AllUpperCaseFormatter

java.lang.Object
  extended by 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"

Constructor Summary
AllUpperCaseFormatter()
          Constructor for AllUpperCaseFormatter.
 
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
 

Constructor Detail

AllUpperCaseFormatter

public AllUpperCaseFormatter()
Constructor for AllUpperCaseFormatter.

Method Detail

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)

SourceForge.net Logo

© Anupam Sengupta 2005