|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormatSettingsManager
Persistent storage and retrieval of format settings. Implementations should return a default value if no configuration currently exists.
Method Summary | |
---|---|
java.lang.String |
getDateFormat()
Returns the formatting pattern used for dates. |
java.lang.String |
getDateTimeFormat()
Returns the formatting pattern used for date and time together. |
java.lang.String |
getDecimalNumberFormat()
Returns the formatting pattern used for decimal numbers. |
java.lang.String |
getEditorBlogPostDate()
Returns the date time format for the editor blog post date |
java.lang.String |
getLongNumberFormat()
Returns the formatting pattern used for integer numbers. |
java.lang.String |
getTimeFormat()
Returns the formatting pattern used for times. |
void |
setDateFormat(java.lang.String pattern)
Stores the formatting pattern to be used for dates. |
void |
setDateTimeFormat(java.lang.String pattern)
Stores the formatting pattern to be used for date and time together. |
void |
setDecimalNumberFormat(java.lang.String pattern)
Stores the formatting pattern to be used for decimal numbers. |
void |
setLongNumberFormat(java.lang.String pattern)
Stores the formatting pattern to be used for integer numbers. |
void |
setTimeFormat(java.lang.String pattern)
Stores the formatting pattern to be used for times. |
Method Detail |
---|
java.lang.String getDateFormat()
void setDateFormat(java.lang.String pattern)
pattern
- a pattern compatible with SimpleDateFormat
java.lang.String getTimeFormat()
void setTimeFormat(java.lang.String pattern)
pattern
- a pattern compatible with SimpleDateFormat
java.lang.String getDateTimeFormat()
void setDateTimeFormat(java.lang.String pattern)
pattern
- a pattern compatible with SimpleDateFormat
java.lang.String getLongNumberFormat()
void setLongNumberFormat(java.lang.String pattern)
pattern
- a pattern compatible with DecimalFormat
java.lang.String getDecimalNumberFormat()
java.lang.String getEditorBlogPostDate()
void setDecimalNumberFormat(java.lang.String pattern)
pattern
- a pattern compatible with DecimalFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |