org.quattor.pan.output
Class FormatterUtils
java.lang.Object
org.quattor.pan.output.FormatterUtils
public class FormatterUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatterUtils
public FormatterUtils()
getFormatterInstance
public static Formatter getFormatterInstance(String name)
- This method maps a formatter name to a
Formatter instance.
If the formatter name is unknown, then null will be returned. The name
comparison ignores the case of the given name.
- Parameters:
name - name of the formatter
- Returns:
Formatter instance corresponding to the name or null
if the formatter name is unknown
getDefaultFormatterInstance
public static Formatter getDefaultFormatterInstance()
- This method returns the default formatter to use if the user does not
specify one explicitly.
- Returns:
- default Formatter for output files
Copyright © 2012 Quattor. All Rights Reserved.