org.apache.uima.tools.cfe.support
Class FileBasedDictionary<T>

java.lang.Object
  extended by org.apache.uima.tools.cfe.support.FileBasedResource
      extended by org.apache.uima.tools.cfe.support.FileBasedDictionary<T>
Direct Known Subclasses:
SimpleFileBasedDictionary

public abstract class FileBasedDictionary<T>
extends FileBasedResource

Author:
Igor Sominsky

Field Summary
 
Fields inherited from class org.apache.uima.tools.cfe.support.FileBasedResource
m_name, m_path
 
Constructor Summary
FileBasedDictionary(String name, String path)
           
 
Method Summary
protected abstract  void addEntry(String key, T value, int linenum)
           
protected abstract  void addLine(String[] line_columns, int linenum)
           
abstract  T getEntry(String key)
           
abstract  int size()
           
 
Methods inherited from class org.apache.uima.tools.cfe.support.FileBasedResource
load, name, path, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBasedDictionary

public FileBasedDictionary(String name,
                           String path)
Method Detail

addEntry

protected abstract void addEntry(String key,
                                 T value,
                                 int linenum)

addLine

protected abstract void addLine(String[] line_columns,
                                int linenum)

getEntry

public abstract T getEntry(String key)

size

public abstract int size()


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.