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