CSVObjects Framework

net.sf.anupam.csv.formatters
Class AllLowerCaseFormatter

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

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

Constructor Detail

AllLowerCaseFormatter

public AllLowerCaseFormatter()
Constructor for AllLowerCaseFormatter.

Method Detail

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)

SourceForge.net Logo

© Anupam Sengupta 2005