gate.creole.annic.lucene
Class LuceneTokenizer

java.lang.Object
  extended by gate.creole.annic.apache.lucene.analysis.TokenStream
      extended by gate.creole.annic.lucene.LuceneTokenizer

public class LuceneTokenizer
extends TokenStream

Implementation of token stream.

Author:
niraj

Constructor Summary
LuceneTokenizer(ArrayList tokenStream)
          Constructor
 
Method Summary
 Token next()
          Returns the next token in the token stream.
 
Methods inherited from class gate.creole.annic.apache.lucene.analysis.TokenStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneTokenizer

public LuceneTokenizer(ArrayList tokenStream)
Constructor

Parameters:
tokenStream -
Method Detail

next

public Token next()
           throws IOException
Returns the next token in the token stream.

Specified by:
next in class TokenStream
Throws:
IOException