DictionaryBase
public interface DictionaryBase
Defines interface of a dictionary.
Learn more
Methods
| Method | Description |
|---|---|
| getDictionaryType() | Gets the dictionary type. |
| exportDictionary(String filePath) | Exports the dictionary to a file with the specified name. |
| importDictionary(String filePath) | Imports a dictionary from the specified file. |
| clear() | Clears the dictionary. |
getDictionaryType()
public abstract DictionaryType getDictionaryType()
Gets the dictionary type.
Returns: DictionaryType - The dictionary type.
exportDictionary(String filePath)
public abstract void exportDictionary(String filePath)
Exports the dictionary to a file with the specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file to export to. |
importDictionary(String filePath)
public abstract void importDictionary(String filePath)
Imports a dictionary from the specified file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file to import from. |
clear()
public abstract void clear()
Clears the dictionary.