olg.csv.bean.filter.impl
Class UpperCaseFilter

Package class diagram package UpperCaseFilter
java.lang.Object
  extended by olg.csv.bean.filter.AbstractStringFilter
      extended by olg.csv.bean.filter.impl.UpperCaseFilter

public final class UpperCaseFilter
extends AbstractStringFilter

Filter specialized in uppercase setting.


Field Summary
private  Locale locale
          the locale.
 
Constructor Summary
UpperCaseFilter(Locale locale)
           
 
Method Summary
protected  String doFiltre(String value)
          Realizes the specified transformation promised by this filtre.
 Locale getLocale()
          Returns the filter locale.
 
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
 

Field Detail

locale

private Locale locale
the locale.

Constructor Detail

UpperCaseFilter

public UpperCaseFilter(Locale locale)
Parameters:
locale - the locale. If null jvm default locale is used.
Method Detail

getLocale

public Locale getLocale()
Returns the filter locale.

Returns:
the locale.

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.