olg.csv.bean.filter.impl
Class UpperCaseFirstFilter
java.lang.Object
olg.csv.bean.filter.AbstractStringFilter
olg.csv.bean.filter.impl.UpperCaseFirstFilter
public class UpperCaseFirstFilter
- extends AbstractStringFilter
Filter specialized in uppercase setting of the first letter of a string.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locale
private Locale locale
- The locale.
UpperCaseFirstFilter
public UpperCaseFirstFilter(Locale locale)
- Parameters:
locale
- the locale. If null
jvm default locale is used.
getLocale
public Locale getLocale()
- the locale used to uppercase.
- 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.