|
CSVObjects Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.anupam.csv.formatters.CSVFormatterFactory
public final class CSVFormatterFactory
A singleton factory which creates and caches the
csv field formatters
. The factory
maintains a cache of CSV formatters that are reentrant (i.e.,
the formatters that do not maintain any instance specific state).
CSVFieldFormatter
Method Summary | |
---|---|
CSVFieldFormatter |
createFormatterFor(String formatterName)
Creates a new instance of the specified formatter. |
static CSVFormatterFactory |
getSingleton()
Returns the singleton instance of this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CSVFormatterFactory getSingleton()
public CSVFieldFormatter createFormatterFor(String formatterName) throws CSVOException
formatterName
- the formatter to return
CSVOException
- thrown if the formatter cannot be created
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |