Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
G
H
I
L
N
O
R
S
T
A
add(String, TextContainer)
- Method in class org.pf.nls.
TextContainerList
Add the text container to this list.
C
containsKey(String)
- Method in class org.pf.nls.
TextContainer
Returns true if this container or its default container can provide a text for the specified key.
containsNothing()
- Method in interface org.pf.nls.
IExtendedTextProvider
Returns true if this text provider holds no text and also its default text provider contains nothing.
containsNothing()
- Method in class org.pf.nls.
ResourceBundleTextProvider
Returns true if this text provider holds no text and also its default text provider contains nothing.
containsNothing()
- Method in class org.pf.nls.
TextContainer
Returns true if this container holds no text and also its default container contains nothing.
containsNothing()
- Method in class org.pf.nls.
TextContainerList
Returns true if this text provider holds no text and also its default text provider contains nothing.
createLocale(String)
- Method in class org.pf.nls.
NLSUtil
Creates a locale from the given name.
current()
- Static method in class org.pf.nls.
NLSUtil
Returns the only instance this class supports (design pattern "Singleton")
D
DEBUG
- Static variable in class org.pf.nls.
NLSIniFileDetector
DEFAULT_FILE_EXTENSTION
- Static variable in class org.pf.nls.
NLSIniFileDetector
detect(String)
- Method in class org.pf.nls.
NLSIniFileDetector
Detects all meta information files for the given base name on the current NLS lookup path.
G
getDefaultEncoding()
- Method in class org.pf.nls.
NLSIniFileLoader
Returns the default encoding that will be used to read text from a file if no explicit encoding was provided.
getDefaultProvider()
- Method in class org.pf.nls.
TextContainer
Returns the default container that will be used if a key cannot be found in this container.
getFileForLocales(Locale)
- Method in class org.pf.nls.
NLSIniFileDetector
Returns the file locator for the given locale or null if not found.
getFilesForLocales(Locale[])
- Method in class org.pf.nls.
NLSIniFileDetector
Returns a file locators for wich a mapping to the given locales have been found.
getKeys()
- Method in class org.pf.nls.
TextContainer
Returns an array with all keys of this container.
getLocale()
- Method in class org.pf.nls.
ResourceBundleTextProvider
Returns the locale the underlying resource bundle was created
getLocale()
- Method in class org.pf.nls.
TextContainer
Returns the locale for which this container holds the text strings
getLocales()
- Method in interface org.pf.nls.
IExtendedTextProvider
Returns the locales for which this text provider has text
getLocales()
- Method in class org.pf.nls.
ResourceBundleTextProvider
Returns the locales for which this text provider has text
getLocales()
- Method in class org.pf.nls.
TextContainer
Returns the locales for which this text provider has text
getLocales()
- Method in class org.pf.nls.
TextContainerList
Returns the locales for which this list has an associated text container
getLookupOrder()
- Method in class org.pf.nls.
TextContainerList
Returns the current lookup order that will be used within getText(String).
getNLSLookupPath()
- Method in class org.pf.nls.
NLSUtil
Returns a classpath that is used to lookup NLS text files.
getResourceBundle()
- Method in class org.pf.nls.
ResourceBundleTextProvider
Returns the wrapped resource bundle
getText(String)
- Method in interface org.pf.nls.
ITextProvider
Returns the text associated with the given key or null if the key cannot be found.
getText(String)
- Method in class org.pf.nls.
ResourceBundleTextProvider
Returns the text associated with the given key or null if the key cannot be found.
getText(String)
- Method in class org.pf.nls.
TextContainer
Returns the text associated with the given key or null if the key cannot be found.
getText(String)
- Method in class org.pf.nls.
TextContainerList
Returns the text associated with the given key or null if the key cannot be found.
getTextContainer(String)
- Method in class org.pf.nls.
TextContainerList
Returns the text container for the given locale name or null if none can be found.
getTextContainer(Locale)
- Method in class org.pf.nls.
TextContainerList
Returns the text container for the given locale or null if none can be found.
H
hasKey(String)
- Method in class org.pf.nls.
TextContainer
Returns true if this container can provide a text for the specified key.
I
IExtendedTextProvider
- Interface in
org.pf.nls
Defines additional methods for retrieving keys and checking contants.
isEmpty()
- Method in class org.pf.nls.
TextContainer
Returns true if this container holds no text.
ITextProvider
- Interface in
org.pf.nls
Defines the minimal interface a class must implement in order to provide text for identifying keys.
L
loadText(File, String)
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a text container with all texts for the specified locale from the given file.
loadText(File, Locale)
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a text container with all texts for the specified locale from the given file.
loadText(File, Locale[])
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a list of text containers with all texts for the specified locales from the given file.
loadText(File, String[])
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a list of text containers with all texts for the specified locales from the given file.
loadText(FileLocator, String)
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a text container with all texts for the specified locale from the given file.
loadText(FileLocator, Locale)
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a text container with all texts for the specified locale from the given file.
loadText(FileLocator, Locale[])
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a list of text containers with all texts for the specified locales from the given file.
loadText(FileLocator, String[])
- Method in class org.pf.nls.
NLSIniFileLoader
Returns a list of text containers with all texts for the specified locales from the given file.
N
NLSIniFileDetector
- Class in
org.pf.nls
This class is responsible to lookup the classpath for a specified base name to which it depends the file extension ".ini".
NLSIniFileDetector()
- Constructor for class org.pf.nls.
NLSIniFileDetector
Initialize the new instance with default values.
NLSIniFileLoader
- Class in
org.pf.nls
This loader is capable of reading text values from an NLS-ini file to one or more TextContainer objects.
NLSIniFileLoader()
- Constructor for class org.pf.nls.
NLSIniFileLoader
Initialize the new instance with default values.
NLSUtil
- Class in
org.pf.nls
Provides some utility and convenience methods related NLS.
O
org.pf.nls
- package org.pf.nls
National Language Support
The main purpose of this package is to provide an easy to use mechanism for accessing localized text.
R
ResourceBundleTextProvider
- Class in
org.pf.nls
This is a simple wrapper around a resource bundle to give it the same interface ITextProvider as available for a TextContainer.
ResourceBundleTextProvider(ResourceBundle)
- Constructor for class org.pf.nls.
ResourceBundleTextProvider
Initialize the new instance with default values.
S
setDefaultProvider(IExtendedTextProvider)
- Method in class org.pf.nls.
TextContainer
Sets the default container.
setLookupOrder(Locale[])
- Method in class org.pf.nls.
TextContainerList
Set the lookup order that will be used within getText(String).
setResourceBundle(ResourceBundle)
- Method in class org.pf.nls.
ResourceBundleTextProvider
Set the wrapped resource bundle
size()
- Method in class org.pf.nls.
TextContainer
Returns the number of entries in this container.
T
TextContainer
- Class in
org.pf.nls
This is is a simple container for text strings associated with an identifying key.
TextContainer(Locale)
- Constructor for class org.pf.nls.
TextContainer
Initialize the new instance with default values.
textContainerAt(int)
- Method in class org.pf.nls.
TextContainerList
Returns the text container at the specified index of null
TextContainerList
- Class in
org.pf.nls
Can hold many TextContainer objects which can be accessed via a locale name or a Locale object.
TextContainerList()
- Constructor for class org.pf.nls.
TextContainerList
Initialize the new instance with default values.
A
C
D
G
H
I
L
N
O
R
S
T
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2015 Manfred Duchrow Consulting & Software. All rights reserved.