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 java.lang.String KEY_CONTEXT
           
 
Constructor Summary
GtfsWriter()
           
 
Method Summary
protected  org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactory createEntitySchemaFactory()
          Protected Methods
 java.util.List<java.lang.Class<?>> getEntityClasses()
           
 java.util.Map<java.lang.Class<?>,java.util.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 java.lang.String KEY_CONTEXT
Constructor Detail

GtfsWriter

public GtfsWriter()
Method Detail

getEntityClasses

public java.util.List<java.lang.Class<?>> getEntityClasses()

getEntityComparators

public java.util.Map<java.lang.Class<?>,java.util.Comparator<?>> getEntityComparators()

run

public void run(GtfsDao dao)
         throws java.io.IOException
Throws:
java.io.IOException

createEntitySchemaFactory

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



Copyright © 2011 OneBusAway. All Rights Reserved.