|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.plugin.spellcheck.SpellChecker
class SpellChecker
Model for spell checking capabilities. This allows for the on-demand retrieval of dictionaries in other languages which are cached with the user's configurations.
| Constructor Summary | |
|---|---|
SpellChecker()
|
|
| Method Summary | |
|---|---|
void |
chatClosed(Chat chat)
Notifies this instance that a Chat has been closed. |
void |
chatCreated(Chat chat)
Notifies this instance that a new Chat has been created. |
(package private) Parameters.Locale |
getLocale()
Provides the locale of the dictionary currently being used by the spell checker. |
(package private) List<String> |
getPersonalWords()
Provides the user's list of words to be ignored by the spell checker. |
(package private) boolean |
isEnabled()
|
(package private) boolean |
isLocaleAvailable(Parameters.Locale locale)
Determines if locale's dictionary is locally available or not. |
(package private) void |
removeLocale(Parameters.Locale locale)
Removes the dictionary from the system, and sets the default locale dictionary as the current dictionary |
(package private) void |
setEnabled(boolean enabled)
|
(package private) void |
setLocale(Parameters.Locale locale)
Resets spell checker to use a different locale's dictionary. |
(package private) void |
setPersonalWords(List<String> words)
Writes custom dictionary and updates spell checker to utilize new listing. |
(package private) void |
start(org.osgi.framework.BundleContext bc)
Associates spell checking capabilities with all chats. |
(package private) void |
stop()
Removes the spell checking capabilities from all chats. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SpellChecker()
| Method Detail |
|---|
void start(org.osgi.framework.BundleContext bc)
throws Exception
bc - execution context of the bundle
Exceptionvoid stop()
public void chatClosed(Chat chat)
chatClosed in interface ChatListenerchat - the Chat which has been closedpublic void chatCreated(Chat chat)
chatCreated in interface ChatListenerchat - the new Chat which has been createdList<String> getPersonalWords()
void setPersonalWords(List<String> words)
words - words to be ignored by the spell checkerParameters.Locale getLocale()
void setLocale(Parameters.Locale locale)
throws Exception
locale - locale of dictionary to be used
Exception - problem occurring in utilizing locale's dictionary
void removeLocale(Parameters.Locale locale)
throws Exception
locale - locale to be removed
Exceptionboolean isLocaleAvailable(Parameters.Locale locale)
locale - locale to be checked
boolean isEnabled()
void setEnabled(boolean enabled)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||