olg.csv.bean.filter.impl
Class TrimFilter

java.lang.Object
  extended by olg.csv.bean.filter.AbstractStringFilter
      extended by olg.csv.bean.filter.impl.TrimFilter

public final class TrimFilter
extends AbstractStringFilter

Filter which execute String String.trim() method.

Author:
Olivier Godineau

Constructor Summary
TrimFilter()
           
 
Method Summary
protected  String doFiltre(String value)
          Realizes the specified transformation promised by this filtre.
 
Methods inherited from class olg.csv.bean.filter.AbstractStringFilter
filtre, getDecorateFilter, getFilter, getLowerFilter, getReplaceFilter, getSplitFilter, getTrimFilter, getUpperFilter, getUpperFirstFilter, setFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrimFilter

public TrimFilter()
Method Detail

doFiltre

protected String doFiltre(String value)
Description copied from class: AbstractStringFilter
Realizes the specified transformation promised by this filtre.

Specified by:
doFiltre in class AbstractStringFilter
Parameters:
value - the value to filter.
Returns:
the value after filtering.


Copyright © 2014. All rights reserved.