planetj.formatters
Class ProperCaseFormatter

java.lang.Object
  extended byplanetj.formatters.AbstractFormatter
      extended byplanetj.formatters.ProperCaseFormatter
All Implemented Interfaces:
IFormatter

public class ProperCaseFormatter
extends AbstractFormatter

Insert the type's description here. Creation date: (11/28/2001 10:04:12 AM)


Constructor Summary
ProperCaseFormatter()
           
 
Method Summary
 java.lang.String formatValue(java.lang.Object value, Field f)
          Formats the Object passed in.
 
Methods inherited from class planetj.formatters.AbstractFormatter
isPrepareFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProperCaseFormatter

public ProperCaseFormatter()
Method Detail

formatValue

public java.lang.String formatValue(java.lang.Object value,
                                    Field f)
Formats the Object passed in. This method will convert a value into its proper case. For example, the value 'GREEN BAY' would return as 'Green Bay'.

Parameters:
value - java.lang.Object
f - The field whose value is being formatted
Returns:
java.lang.Object