Class WordDelimiterIterator


  • public final class WordDelimiterIterator
    extends java.lang.Object
    A BreakIterator-like API for iterating over subwords in text, according to WordDelimiterFilter rules.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte[] DEFAULT_WORD_DELIM_TABLE  
      static int DONE
      Indicates the end of iteration
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte getType​(int ch)
      Computes the type of the given character
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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