org.apache.felix.dm.samples.annotation
Interface DictionaryService

All Known Implementing Classes:
DictionaryAspect, DictionaryImpl

public interface DictionaryService

A simple service interface that defines a dictionary service. A dictionary service simply verifies the existence of a word.

Author:
Felix Project Team

Method Summary
 boolean checkWord(String word)
          Check for the existence of a word.
 

Method Detail

checkWord

boolean checkWord(String word)
Check for the existence of a word.

Parameters:
word - the word to be checked.
Returns:
true if the word is in the dictionary, false otherwise.


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.