DictionaryBase
Leave feedback
On this page
public interface DictionaryBase
Defines interface of a dictionary.
Learn more
| 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. |
public abstract DictionaryType getDictionaryType()
Gets the dictionary type.
Returns: DictionaryType - The dictionary type.
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. |
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. |
public abstract void clear()
Clears the dictionary.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.