org.onebusaway.gtfs.serialization
Class GtfsWriter

java.lang.Object
  extended by org.onebusaway.csv_entities.CsvEntityWriter
      extended by org.onebusaway.gtfs.serialization.GtfsWriter
All Implemented Interfaces:
org.onebusaway.csv_entities.EntityHandler

public class GtfsWriter
extends org.onebusaway.csv_entities.CsvEntityWriter


Field Summary
static String KEY_CONTEXT
           
 
Constructor Summary
GtfsWriter()
           
 
Method Summary
protected  org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory createEntitySchemaFactory()
          Protected Methods
 List<Class<?>> getEntityClasses()
           
 Map<Class<?>,Comparator<?>> getEntityComparators()
           
 void run(GtfsDao dao)
           
 
Methods inherited from class org.onebusaway.csv_entities.CsvEntityWriter
close, flush, getEntitySchemaFactory, handleEntity, setEntitySchemaFactory, setOutputLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_CONTEXT

public static final String KEY_CONTEXT
Constructor Detail

GtfsWriter

public GtfsWriter()
Method Detail

getEntityClasses

public List<Class<?>> getEntityClasses()

getEntityComparators

public Map<Class<?>,Comparator<?>> getEntityComparators()

run

public void run(GtfsDao dao)
         throws IOException
Throws:
IOException

createEntitySchemaFactory

protected org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory createEntitySchemaFactory()
Protected Methods



Copyright © 2011 OneBusAway. All Rights Reserved.