|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pf.nls.NLSUtil
public class NLSUtil
Provides some utility and convenience methods related NLS. The system property "org.pf.nls.path" can be used to specify the path for NLS text file lookup. Its value must be set like a classpath.
Method Summary | |
---|---|
Locale |
createLocale(String localeName)
Creates a locale from the given name. |
static NLSUtil |
current()
Returns the only instance this class supports (design pattern "Singleton") |
org.pf.file.Classpath |
getNLSLookupPath()
Returns a classpath that is used to lookup NLS text files. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NLSUtil current()
public Locale createLocale(String localeName)
public org.pf.file.Classpath getNLSLookupPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |