View Javadoc

1   /*
2    * JCaptcha, the open source java framework for captcha definition and integration
3    * Copyright (c)  2007 jcaptcha.net. All Rights Reserved.
4    * See the LICENSE.txt file distributed with this package.
5    */
6   
7   package com.octo.captcha.component.word;
8   
9   import java.util.Locale;
10  
11  /***
12   * <p>Base interface used by the DictionaryWordGenerator to retrieve words.</p>
13   *
14   * @author <a href="mailto:mag@jcaptcha.net">Marc-Antoine Garrigue</a>
15   * @version 1.0
16   */
17  public interface DictionaryReader {
18  
19      SizeSortedWordList getWordList();
20  
21      SizeSortedWordList getWordList(Locale locale);
22  
23  }