public class CdmFormatterFactory
extends java.lang.Object
Constructor and Description |
---|
CdmFormatterFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
format(java.lang.Object object,
ICdmFormatter.FormatKey... formatKeys)
Convenience method which directly formats the given object according to
the given formatKeys.
|
static ICdmFormatter |
getFormatter(java.lang.Object object,
ICdmFormatter.FormatKey... formatKeys)
Returns a matching ICdmFormatter for the given object configured with the
given formatKeys
|
public static ICdmFormatter getFormatter(java.lang.Object object, ICdmFormatter.FormatKey... formatKeys)
object
- the object which should be formatted as a stringformatKeys
- the formatKeys specifying the parts of which the string is
builtpublic static java.lang.String format(java.lang.Object object, ICdmFormatter.FormatKey... formatKeys)
object
- the object which should be formatted as a stringformatKeys
- the formatKeys specifying the parts of which the string is
builtCopyright © 2007-2020 EDIT. All Rights Reserved.