org.dspace.text.filter
Class LowerCaseAndTrim

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

public class LowerCaseAndTrim
extends Object
implements TextFilter

Lowercase and trim leading / trailing whitespace

Author:
Graham Triggs

Constructor Summary
LowerCaseAndTrim()
           
 
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

LowerCaseAndTrim

public LowerCaseAndTrim()
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.