public class DictionaryToMap
extends java.lang.Object
Constructor and Description |
---|
DictionaryToMap(java.lang.String propFile,
java.lang.String destinationDirectory)
Initialize with the given map destination directory, using the properties file(usually file_properties.xml)
|
Modifier and Type | Method and Description |
---|---|
void |
convert()
Converts the current Dictionary to a MapBackedDictionary.
|
static void |
main(java.lang.String[] args) |
public DictionaryToMap(java.lang.String propFile, java.lang.String destinationDirectory) throws JWNLException, java.io.IOException
propFile
- properties filedestinationDirectory
- destination directory for in-memory map filesJWNLException
- JWNLExceptionjava.io.IOException
- IOExceptionpublic void convert() throws JWNLException, java.io.IOException
JWNLException
- JWNLExceptionjava.io.IOException
- IOExceptionpublic static void main(java.lang.String[] args) throws java.io.IOException, JWNLException
java.io.IOException
JWNLException