org.paneris.bibliomania.fti
Class IndexTokenizer

java.lang.Object
  extended by org.paneris.bibliomania.fti.IndexTokenizer
All Implemented Interfaces:
java.util.Enumeration

public class IndexTokenizer
extends java.lang.Object
implements java.util.Enumeration


Constructor Summary
IndexTokenizer(java.io.InputStream reader)
           
IndexTokenizer(java.io.InputStream reader, boolean wantEverything)
           
 
Method Summary
 int bytesReadFromUnderlyingStream()
           
 boolean hadBreak()
           
 boolean hasMoreElements()
           
 boolean hasMoreWords()
           
static void main(java.lang.String[] args)
           
 java.lang.Object nextElement()
           
 java.lang.String nextWord()
           
 int wordIndex()
           
 int wordOffset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTokenizer

public IndexTokenizer(java.io.InputStream reader,
                      boolean wantEverything)

IndexTokenizer

public IndexTokenizer(java.io.InputStream reader)
Method Detail

hadBreak

public boolean hadBreak()

wordOffset

public int wordOffset()

bytesReadFromUnderlyingStream

public int bytesReadFromUnderlyingStream()

wordIndex

public int wordIndex()

nextWord

public java.lang.String nextWord()

nextElement

public final java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

hasMoreWords

public boolean hasMoreWords()
                     throws java.io.IOException
Throws:
java.io.IOException

hasMoreElements

public final boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2009 PanEris. All Rights Reserved.