Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.profiles.formatter
Interface ProfileFieldFormatter


public interface ProfileFieldFormatter

Profile field formatter format a profile field for display to the end user. For example, a formatter might format numbers for a user in a US locale as 1,2345.01 but in another locale as 1 2345,00.


Method Summary
 java.lang.String format(java.lang.String value, User user)
          Format a profile field for display to the end user with the given AuthToken.
 

Method Detail

format

java.lang.String format(java.lang.String value,
                        User user)
Format a profile field for display to the end user with the given AuthToken.

Parameters:
value - the value to format.
user - the user to format the profile field for.
Returns:
a formatted String for the profile field value.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.