public abstract class Europe1RowTranslator extends SingleValueTranslator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Europe1RowTranslator.ParsedCurrency |
| Constructor and Description |
|---|
Europe1RowTranslator() |
Europe1RowTranslator(SimpleDateFormat dateFormat,
NumberFormat numberFormat,
Locale loc)
For testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map |
getCurrenciesISOs() |
protected Map |
getCurrenciesSymbols() |
protected DateFormat |
getDateFormat() |
protected String |
getDateFormatString(AbstractDescriptor columnDescriptor) |
protected NumberFormat |
getNumberFormat() |
protected String |
getNumberFormatString(AbstractDescriptor columnDescriptor) |
void |
init(StandardColumnDescriptor columnDescriptor)
Called once per header creation to allow configuring this translator using column modifiers etc.
|
protected Europe1RowTranslator.ParsedCurrency |
parseCurrency(String valueExpr) |
protected DateRange |
parseDateRange(String valueExpr)
Parses a given daterange expression to a
DateRange object. |
protected Date |
transformEndDate(Date endDate)
Transforms the time of the given date to 23:59:59 if it is 00:00:00.
|
protected Date |
transformStartDate(Date startDate)
TPlease override this method if you want to add your own transformation.
|
convertToJalo, convertToString, exportValue, getEmptyValue, importValue, isEmptyclearStatus, createTranslator, createTranslator, createTranslator, debug, error, getColumnDescriptor, getFlexibleSearch, info, isDebugEnabled, isInfoEnabled, setEmpty, setError, validate, warn, wasEmpty, wasUnresolvedpublic Europe1RowTranslator()
public Europe1RowTranslator(SimpleDateFormat dateFormat, NumberFormat numberFormat, Locale loc)
public void init(StandardColumnDescriptor columnDescriptor)
AbstractValueTranslatorinit in class AbstractValueTranslatorcolumnDescriptor - descriptor where the value to translate belongs toprotected DateRange parseDateRange(String valueExpr)
DateRange object.valueExpr - expression to parseprotected Date transformStartDate(Date startDate)
startDate - date to transformprotected Date transformEndDate(Date endDate)
endDate - date to transformprotected Europe1RowTranslator.ParsedCurrency parseCurrency(String valueExpr)
protected DateFormat getDateFormat()
protected NumberFormat getNumberFormat()
protected Map getCurrenciesISOs()
protected Map getCurrenciesSymbols()
protected String getDateFormatString(AbstractDescriptor columnDescriptor)
protected String getNumberFormatString(AbstractDescriptor columnDescriptor)
Copyright © 2017 SAP SE. All Rights Reserved.