Newer
Older
MagnetRON / src / org / ntlab / traceanalyzer / DictionaryService.java
Aki Hongo on 3 Mar 2020 640 bytes first commit
  1. package org.ntlab.traceanalyzer;
  2.  
  3. public interface DictionaryService {
  4. /**
  5. * Register a dictionary
  6. *
  7. * @param dictionary the dictionary to be added.
  8. */
  9. public void registerDictionary(Dictionary dictionary);
  10. /**
  11. * Remove a dictionary
  12. *
  13. * @param dictionary the dictionary to be removed.
  14. */
  15. public void unregisterDictionary(Dictionary dictionary);
  16. /**
  17. * Check for the existence of a word across all dictionaries
  18. *
  19. * @param word the word to be checked.
  20. * @return true if the word is in any dictionary
  21. */
  22. public boolean check(String word);
  23.  
  24.  
  25. }