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. |
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.
Copyright © 1999-2006 Jive Software.