Class LengthFilter

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class LengthFilter
    extends FilteringTokenFilter
    Removes words that are too long or too short from the stream.

    Note: Length is calculated as the number of UTF-16 code units.