Groovy Documentation

org.gmetrics.formatter
[Groovy] Class FormatterFactory

java.lang.Object
  org.gmetrics.formatter.FormatterFactory

class FormatterFactory

Factory for Formatter objects

Authors:
Chris Mair


Method Summary
Formatter getFormatter(String formatterSpecification)

Create and return a Formatter instance based on a specification String, which is the class name.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

getFormatter

Formatter getFormatter(String formatterSpecification)
Create and return a Formatter instance based on a specification String, which is the class name.
Parameters:
formatterSpecification - - the specification of the Formatter. It is of the form: "fully-qualified-class-name" e.g., "org.gmetrics.formatter.PercentageFormatter"
Returns:
a Formatter instance


 

Groovy Documentation