public class StoreCurrencyFormatter
extends atg.droplet.CurrencyFormatter
customCurrencyPatterns
property where keys are locales and values are custom format patterns.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
StoreCurrencyFormatter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatCurrency(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
The method checks whether custom currency format is specified for the
current locale and if so formats the currency with the specified format.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomCurrencyPatterns()
Returns the map with custom currency patterns where keys
are locales and values are custom patterns for the locale.
|
void |
setCustomCurrencyPatterns(java.util.Map<java.lang.String,java.lang.String> pCustomCurrencyPatterns)
Sets the map with custom currency patterns where keys
are locales and values are custom patterns for the locale.
|
getCurrency, getCurrencyLocale, getDefaultLocale, getEuroSymbol, isUseRequestLocale, service, setDefaultLocale, setUseRequestLocale
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static final java.lang.String CLASS_VERSION
public java.util.Map<java.lang.String,java.lang.String> getCustomCurrencyPatterns()
public void setCustomCurrencyPatterns(java.util.Map<java.lang.String,java.lang.String> pCustomCurrencyPatterns)
pCustomCurrencyPatterns
- The map with custom currency patterns where keys
are locales and values are custom patterns for the locale.protected java.lang.String formatCurrency(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
formatCurrency
in class atg.droplet.CurrencyFormatter
javax.servlet.ServletException
java.io.IOException