|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormatAdapterInterface
This adapter is used by Format selectors.
Method Summary | |
---|---|
java.util.List |
getFormatByType(java.lang.Object formatCategory,
java.util.Locale locale)
Get a list of format descriptions corresponding to the format category and locale specified. |
java.util.Map |
getFormatTypes(int dataType,
java.util.Locale locale)
Get a map of format types corresponding to the data type and locale specified. |
Method Detail |
---|
java.util.Map getFormatTypes(int dataType, java.util.Locale locale)
dataType
- the java.sql.Types value for which the format map is needed.locale
- the locale to be used for the displayable strings.
getFormatByType(Object, Locale)
; the value of
each entry is a locale specific string.
java.lang.IllegalArgumentException
- if the dataType or locale specified is not supported
java.lang.IllegalStateException
- if there are problems with the underlying modeljava.util.List getFormatByType(java.lang.Object formatCategory, java.util.Locale locale)
dataType
- the format category as described in getFormatTypes(int, Locale)
locale
- the locale to be used for the information in the format descriptions.
java.lang.IllegalArgumentException
- if the format category or locale specified is not supported
java.lang.IllegalStateException
- if there are problems with the underlying model
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |