org.dspace.text.filter
Class StripDiacritics

java.lang.Object
  extended by org.dspace.text.filter.StripDiacritics
All Implemented Interfaces:
TextFilter

public class StripDiacritics
extends Object
implements TextFilter

Strips decomposed diacritic characters from the supplied string

Author:
Graham Triggs

Constructor Summary
StripDiacritics()
           
 
Method Summary
 String filter(String str)
           
 String filter(String str, String lang)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StripDiacritics

public StripDiacritics()
Method Detail

filter

public String filter(String str)
Specified by:
filter in interface TextFilter

filter

public String filter(String str,
                     String lang)
Specified by:
filter in interface TextFilter


Copyright © 2010 DuraSpace. All Rights Reserved.