|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.l10n.PropertiesFileInfo
public class PropertiesFileInfo
Holder of meta-information about a properties file that maps message keys to message text.
org.marketcetera.util.log| Constructor Summary | |
|---|---|
PropertiesFileInfo(I18NMessageProvider provider)
Creates a new meta-information holder for the fallback properties file associated with the given provider. |
|
PropertiesFileInfo(I18NMessageProvider provider,
Locale locale)
Creates a new meta-information holder for the properties file associated with the given provider and locale. |
|
| Method Summary | |
|---|---|
Locale |
getLocale()
Returns the receiver's locale. |
List<MessageInfo> |
getMessageInfo()
Returns the receiver's meta-information. |
I18NMessageProvider |
getProvider()
Returns the receiver's message provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesFileInfo(I18NMessageProvider provider,
Locale locale)
throws I18NException
provider - The provider.locale - The locale. Use Locale.ROOT for the
fallback properties file.
I18NException - Thrown if there is an I/O error while
attempting to read the properties file.
public PropertiesFileInfo(I18NMessageProvider provider)
throws I18NException
provider - The provider.
I18NException - Thrown if there is an I/O error while
attempting to read the properties file.| Method Detail |
|---|
public I18NMessageProvider getProvider()
public Locale getLocale()
public List<MessageInfo> getMessageInfo()
MessageInfoProvider
getMessageInfo in interface MessageInfoProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||