org.apache.lucene.analysis.miscellaneous
Class WordDelimiterIterator

java.lang.Object
  extended by org.apache.lucene.analysis.miscellaneous.WordDelimiterIterator

public final class WordDelimiterIterator
extends Object

A BreakIterator-like API for iterating over subwords in text, according to WordDelimiterFilter rules.

NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.

Field Summary
static byte[] DEFAULT_WORD_DELIM_TABLE
           
static int DONE
          Indicates the end of iteration
 
Method Summary
static byte getType(int ch)
          Computes the type of the given character
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DONE

public static final int DONE
Indicates the end of iteration

See Also:
Constant Field Values

DEFAULT_WORD_DELIM_TABLE

public static final byte[] DEFAULT_WORD_DELIM_TABLE
Method Detail

getType

public static byte getType(int ch)
Computes the type of the given character

Parameters:
ch - Character whose type is to be determined
Returns:
Type of the character


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.