|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormatterFactory
Source for shared and commonly used Formatters
.
Formatters are typically not thread safe as Format
objects aren't thread safe: so implementations of
this service should take care to synchronize them as neccessary.
Format
Method Summary | |
---|---|
Formatter |
getCurrencyFormatter()
Returns a currency number formatter. |
Formatter |
getDateFormatter()
Returns the default date format for the current locale. |
Formatter |
getDateFormatter(java.lang.String encodedFormat)
Returns a date formatter for the encoded date format. |
Formatter |
getDateFormatter(Style style)
Returns the date format with the specified style for the current locale. |
Formatter |
getDateTimeFormatter()
Returns the default date/time format for the current locale. |
Formatter |
getDateTimeFormatter(Style dateStyle,
Style timeStyle)
Returns the date format with the specified styles for the current locale. |
Formatter |
getNumberFormatter(java.lang.Class numberClass)
Returns a number formatter for the specified class. |
Formatter |
getPercentFormatter()
Returns a percent number formatter. |
Formatter |
getTimeFormatter()
Returns the default time format for the current locale. |
Formatter |
getTimeFormatter(Style style)
Returns the time format with the specified style for the current locale. |
Method Detail |
---|
Formatter getDateFormatter(java.lang.String encodedFormat)
encodedFormat
- the format
Formatter getDateFormatter()
Formatter getDateFormatter(Style style)
style
- the style
Formatter getDateTimeFormatter()
Formatter getDateTimeFormatter(Style dateStyle, Style timeStyle)
dateStyle
- the date styletimeStyle
- the time style
Formatter getTimeFormatter()
Formatter getTimeFormatter(Style style)
style
- the style
Formatter getNumberFormatter(java.lang.Class numberClass)
numberClass
- the number class
Formatter getPercentFormatter()
Formatter getCurrencyFormatter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |