Save This Page
Home » openjdk-7 » net.sourceforge » dictport » [javadoc | source]
net.sourceforge.dictport
public final class: Chapter [javadoc | source]
java.lang.Object
   net.sourceforge.dictport.Chapter
Provides access to single chapter.
Nested Class Summary:
public static final class  Chapter.Entry  Map entry to keep single dictionary item. 
Constructor:
 Chapter(String aID,
    URL aLocation,
    Locale aLocale) 
    Create chapter from specific location. If data can not be read from specified location, empty chapter is created.
Method from net.sourceforge.dictport.Chapter Summary:
equals,   findAutoComplete,   findExact,   findSimilar,   getID,   getNext,   getNext20,   getPrevious,   main,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.sourceforge.dictport.Chapter Detail:
 public boolean equals(Object aObject) 
    Indicates whether some other Chapter is "equal to" this one. Chapters are compared by ID.
 public Entry findAutoComplete(String aWord) throws ItemNotFoundException 
    Return matching entry.
 public Entry findExact(String aWord) throws ItemNotFoundException 
    Return matching entry.
 public List findSimilar(String aWord) 
    Return list of similar entries.
 public String getID() 
    Return chapter ID.
 public Entry getNext(String aWord) 
    Return next chapter item.
 public List getNext20(String aWord) 
    Return next 20 chapter items.
 public Entry getPrevious(String aWord) 
    Return previous chapter item.
 public static  void main(String[] args) 
    Self test method.
 public String toString() 
    Return string representation of this chapter.