Factory for Formatter objects
Type | Name and description |
---|---|
Formatter |
getFormatter(String formatterSpecification) Create and return a Formatter instance based on a specification String, which is the class name. |
Create and return a Formatter instance based on a specification String, which is the class name.
formatterSpecification
- - the specification of the Formatter. It is of the form:
"fully-qualified-class-name"
e.g., "org.gmetrics.formatter.PercentageFormatter"