|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.didion.jwnl.JWNL
Contains system info as well as JWNL properties.
| Nested Class Summary | |
static class |
JWNL.OS
Used to create constants that represent the major categories of operating systems. |
static class |
JWNL.Version
Represents a version of WordNet. |
| Field Summary | |
static JWNL.OS |
MAC
|
static JWNL.OS |
UNDEFINED
|
static JWNL.OS |
UNIX
|
static JWNL.OS |
WINDOWS
|
| Method Summary | |
static java.lang.String |
getDictionaryPath()
Get the path to the dictionary files. |
static JWNL.OS |
getOS()
Get the current OS. |
static JWNL.Version |
getVersion()
Get the current WordNet version |
static void |
initialize()
|
static void |
initialize(java.io.InputStream propertiesStream)
|
static java.lang.String |
resolveMessage(java.lang.String msg)
Resolve msg in one of the resource bundles used by the system |
static java.lang.String |
resolveMessage(java.lang.String msg,
java.lang.Object obj)
Resolve msg in one of the resource bundles used by the system. |
static java.lang.String |
resolveMessage(java.lang.String msg,
java.lang.Object[] params)
Resolve msg in one of the resource bundles used by the system |
static void |
shutdown()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final JWNL.OS WINDOWS
public static final JWNL.OS UNIX
public static final JWNL.OS MAC
public static final JWNL.OS UNDEFINED
| Method Detail |
public static void initialize()
throws JWNLException
public static void initialize(java.io.InputStream propertiesStream)
throws JWNLException
public static JWNL.OS getOS()
public static JWNL.Version getVersion()
public static java.lang.String getDictionaryPath()
public static java.lang.String resolveMessage(java.lang.String msg)
public static java.lang.String resolveMessage(java.lang.String msg,
java.lang.Object obj)
obj - parameter to insert into the resolved message
public static java.lang.String resolveMessage(java.lang.String msg,
java.lang.Object[] params)
params - parameters to insert into the resolved messagepublic static void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||