net.sf.extjwnl.dictionary.file
Interface DictionaryFileFactory<E>

All Known Implementing Classes:
PrincetonChannelDictionaryFile, PrincetonObjectDictionaryFile, PrincetonRandomAccessDictionaryFile

public interface DictionaryFileFactory<E>

A dictionary file factory.

Author:
Aliaksandr Autayeu

Method Summary
 E newInstance(Dictionary dictionary, String path, POS pos, DictionaryFileType fileType)
          Creates a new instance of the dictionary file.
 

Method Detail

newInstance

E newInstance(Dictionary dictionary,
              String path,
              POS pos,
              DictionaryFileType fileType)
Creates a new instance of the dictionary file.

Parameters:
dictionary - owner dictionary
path - path to dictionary files
pos - part of speech
fileType - file type
Returns:
a new instance of the dictionary file


Copyright © 2011. All Rights Reserved.