Class PathTokenFilter

java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.alfresco.repo.search.impl.lucene.analysis.PathTokenFilter
All Implemented Interfaces:
Closeable, AutoCloseable

public class PathTokenFilter extends org.apache.lucene.analysis.Tokenizer
Author:
andyh TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
  • Field Details

  • Constructor Details

    • PathTokenFilter

      public PathTokenFilter(char pathSeparator, String separatorTokenText, String noNsTokenText, char nsStartDelimiter, char nsEndDelimiter, boolean includeNameSpace)
  • Method Details

    • next

      public org.apache.lucene.analysis.tokenattributes.PackedTokenAttributeImpl next() throws IOException
      Throws:
      IOException
    • incrementToken

      public final boolean incrementToken() throws IOException
      Specified by:
      incrementToken in class org.apache.lucene.analysis.TokenStream
      Throws:
      IOException
    • reset

      public void reset() throws IOException
      Overrides:
      reset in class org.apache.lucene.analysis.Tokenizer
      Throws:
      IOException
    • end

      public void end() throws IOException
      Overrides:
      end in class org.apache.lucene.analysis.TokenStream
      Throws:
      IOException