lumis.search.lucene
Class AccentFilter

Package class diagram package AccentFilter
java.lang.Object
  extended by org.apache.lucene.analysis.TokenStream
      extended by org.apache.lucene.analysis.TokenFilter
          extended by lumis.search.lucene.AccentFilter

public class AccentFilter
extends org.apache.lucene.analysis.TokenFilter

Filter that replaces accented characters with their plain versions

Since:
4.0.5

Field Summary
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
AccentFilter(org.apache.lucene.analysis.TokenStream in)
           
 
Method Summary
 org.apache.lucene.analysis.Token next()
           
static String stripAccentChars(String str)
           
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccentFilter

public AccentFilter(org.apache.lucene.analysis.TokenStream in)
Method Detail

next

public org.apache.lucene.analysis.Token next()
                                      throws IOException
Specified by:
next in class org.apache.lucene.analysis.TokenStream
Throws:
IOException

stripAccentChars

public static String stripAccentChars(String str)


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.