net.sf.extjwnl.princeton.file
Class AbstractPrincetonDictionaryFile

java.lang.Object
  extended by net.sf.extjwnl.dictionary.file.AbstractDictionaryFile
      extended by net.sf.extjwnl.princeton.file.AbstractPrincetonDictionaryFile
All Implemented Interfaces:
DictionaryFile, Owned
Direct Known Subclasses:
AbstractPrincetonRandomAccessDictionaryFile, PrincetonObjectDictionaryFile

public abstract class AbstractPrincetonDictionaryFile
extends AbstractDictionaryFile

AbstractDictionaryFile that uses file names compatible with Princeton's distribution of WordNet. The filenames associated are: WINDOWS: . MAC, UNIX: ., .exc

Author:
John Didion , Aliaksandr Autayeu

Field Summary
 
Fields inherited from class net.sf.extjwnl.dictionary.file.AbstractDictionaryFile
dictionary, file, params
 
Constructor Summary
protected AbstractPrincetonDictionaryFile(Dictionary dictionary, Map<String,Param> params)
           
  AbstractPrincetonDictionaryFile(Dictionary dictionary, String path, POS pos, DictionaryFileType fileType, Map<String,Param> params)
           
 
Method Summary
protected  String getFilename()
          Returns a filename from the part-of-speech and the file type.
 
Methods inherited from class net.sf.extjwnl.dictionary.file.AbstractDictionaryFile
close, delete, getDictionary, getFile, getFileType, getPOS, open, openFile, setDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.extjwnl.dictionary.file.DictionaryFile
edit, isOpen, save
 

Constructor Detail

AbstractPrincetonDictionaryFile

protected AbstractPrincetonDictionaryFile(Dictionary dictionary,
                                          Map<String,Param> params)

AbstractPrincetonDictionaryFile

public AbstractPrincetonDictionaryFile(Dictionary dictionary,
                                       String path,
                                       POS pos,
                                       DictionaryFileType fileType,
                                       Map<String,Param> params)
Method Detail

getFilename

protected String getFilename()
Description copied from class: AbstractDictionaryFile
Returns a filename from the part-of-speech and the file type.

Specified by:
getFilename in class AbstractDictionaryFile
Returns:
a filename from the part-of-speech and the file type


Copyright © 2011. All Rights Reserved.