|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.nls.NLSIniFileLoader
public class NLSIniFileLoader
This loader is capable of reading text values from an NLS-ini file to one or more TextContainer objects.
| Constructor Summary | |
|---|---|
NLSIniFileLoader()
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultEncoding()
Returns the default encoding that will be used to read text from a file if no explicit encoding was provided. |
TextContainer |
loadText(java.io.File file,
java.util.Locale locale)
Returns a text container with all texts for the specified locale from the given file. |
TextContainerList |
loadText(java.io.File file,
java.util.Locale[] locales)
Returns a list of text containers with all texts for the specified locales from the given file. |
TextContainer |
loadText(FileLocator fileLocator,
java.util.Locale locale)
Returns a text container with all texts for the specified locale from the given file. |
TextContainerList |
loadText(FileLocator fileLocator,
java.util.Locale[] locales)
Returns a list of text containers with all texts for the specified locales from the given file. |
TextContainer |
loadText(FileLocator fileLocator,
java.lang.String localeName)
Returns a text container with all texts for the specified locale from the given file. |
TextContainerList |
loadText(FileLocator fileLocator,
java.lang.String[] localeNames)
Returns a list of text containers with all texts for the specified locales from the given file. |
TextContainer |
loadText(java.io.File file,
java.lang.String localeName)
Returns a text container with all texts for the specified locale from the given file. |
TextContainerList |
loadText(java.io.File file,
java.lang.String[] localeNames)
Returns a list of text containers with all texts for the specified locales from the given file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NLSIniFileLoader()
| Method Detail |
|---|
public TextContainer loadText(java.io.File file,
java.lang.String localeName)
public TextContainer loadText(java.io.File file,
java.util.Locale locale)
public TextContainerList loadText(java.io.File file,
java.util.Locale[] locales)
public TextContainerList loadText(java.io.File file,
java.lang.String[] localeNames)
public TextContainer loadText(FileLocator fileLocator,
java.lang.String localeName)
public TextContainer loadText(FileLocator fileLocator,
java.util.Locale locale)
public TextContainerList loadText(FileLocator fileLocator,
java.util.Locale[] locales)
public TextContainerList loadText(FileLocator fileLocator,
java.lang.String[] localeNames)
public java.lang.String getDefaultEncoding()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||