edu.mit.jwi
Class DataSourceDictionary.FileIterator2<T>

java.lang.Object
  extended by edu.mit.jwi.DataSourceDictionary.FileIterator<T,T>
      extended by edu.mit.jwi.DataSourceDictionary.FileIterator2<T>
All Implemented Interfaces:
IHasPOS, java.util.Iterator<T>
Direct Known Subclasses:
DataSourceDictionary.DataFileIterator, DataSourceDictionary.IndexFileIterator, DataSourceDictionary.SenseEntryFileIterator
Enclosing class:
DataSourceDictionary

public abstract class DataSourceDictionary.FileIterator2<T>
extends DataSourceDictionary.FileIterator<T,T>

A file iterator where the data type returned by the iterator is the same as that returned by the backing data source.

Since:
JWI 2.1.5
Author:
Mark A. Finlayson

Field Summary
 
Fields inherited from class edu.mit.jwi.DataSourceDictionary.FileIterator
currentLine, fFile, fParser, iterator
 
Constructor Summary
DataSourceDictionary.FileIterator2(IContentType<T> content)
          Constructs a new file iterator with the specified content type.
DataSourceDictionary.FileIterator2(IContentType<T> content, java.lang.String startKey)
          Constructs a new file iterator with the specified content type and start key.
 
Method Summary
 
Methods inherited from class edu.mit.jwi.DataSourceDictionary.FileIterator
getCurrentLine, getPOS, hasNext, next, parseLine, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceDictionary.FileIterator2

public DataSourceDictionary.FileIterator2(IContentType<T> content)
Constructs a new file iterator with the specified content type.

Since:
JWI 2.1.5

DataSourceDictionary.FileIterator2

public DataSourceDictionary.FileIterator2(IContentType<T> content,
                                          java.lang.String startKey)
Constructs a new file iterator with the specified content type and start key.

Since:
JWI 2.1.5


Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.