org.codeforamerica.open311.internals.parsing
Class DataParserFactory

java.lang.Object
  extended by org.codeforamerica.open311.internals.parsing.DataParserFactory

public class DataParserFactory
extends Object

Builds instances of DataParser. Singleton class.

Author:
Santiago MunĂ­n

Method Summary
 DataParser buildDataParser(Format format)
          Builds a data parser taking care of the desired format.
static DataParserFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DataParserFactory getInstance()

buildDataParser

public DataParser buildDataParser(Format format)
Builds a data parser taking care of the desired format.

Parameters:
format - Desired format.
Returns:
an instance of DataParser of null if the given format is not supported.


Copyright © 2013 Code for America. All Rights Reserved.