public abstract class AbstractNlsFormatterDateIso8601 extends SimpleNlsFormatter<Object>
| Modifier and Type | Field and Description |
|---|---|
private Iso8601Util |
iso8601Util |
| Constructor and Description |
|---|
AbstractNlsFormatterDateIso8601()
The constructor.
|
AbstractNlsFormatterDateIso8601(Iso8601Util iso8601Util)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Formatter<Object> |
createFormatter(Locale locale)
This method creates the underlying
Formatter to delegate to. |
protected void |
doInitialize()
This method performs the actual
initialization. |
String |
getStyle()
This method gets the
style of this formatter. |
void |
setIso8601Util(Iso8601Util iso8601Util) |
format, formattoStringcreateLogger, getLoggerdoInitialized, getInitializationState, initializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeprivate Iso8601Util iso8601Util
public AbstractNlsFormatterDateIso8601()
public AbstractNlsFormatterDateIso8601(Iso8601Util iso8601Util)
iso8601Util - is the Iso8601Util instance to use.@Inject public void setIso8601Util(Iso8601Util iso8601Util)
iso8601Util - is the iso8601Util to setprotected void doInitialize()
AbstractComponentinitialization. It is called when AbstractComponent.initialize() is
invoked for the first time. super.AbstractComponent.doInitialize().doInitialize in class AbstractLoggableComponentprotected Formatter<Object> createFormatter(Locale locale)
SimpleNlsFormatterFormatter to delegate to.createFormatter in class SimpleNlsFormatter<Object>locale - is the locale of the Formatter to create.public String getStyle()
NlsFormatterPluginstyle of this formatter. See STYLE_* constants of
NlsFormatterManager e.g.
NlsFormatterManager.STYLE_LONG.null for no style.Copyright © 2001–2016 mmm-Team. All rights reserved.