-
- All Superinterfaces:
NlsFormatter<Object>
public interface NlsFormatterPlugin extends NlsFormatter<Object>
This interface extendsNlsFormatterwith the methods required to register this automatically as plugin.
If noNlsFormatterPluginwith defaultstyle(null) is found for sometypethe one withmediumstyle is used as default.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetStyle()This method gets thestyleof this formatter.StringgetType()This method gets thetypeof this formatter.-
Methods inherited from interface io.github.mmm.nls.formatter.NlsFormatter
format, format
-
-
-
-
Method Detail
-
getType
String getType()
This method gets thetypeof this formatter. SeeTYPE_*constants ofNlsFormatterManagere.g.NlsFormatterManager.TYPE_NUMBER.- Returns:
- the type or
nullfor thedefault formatter. If type isnullthen alsostyleneeds to benull.
-
getStyle
String getStyle()
This method gets thestyleof this formatter. SeeSTYLE_*constants ofNlsFormatterManagere.g.NlsFormatterManager.STYLE_LONG.- Returns:
- the style or
nullfor no style.
-
-