org.onebusaway.gtfs.serialization
Class GtfsWriter

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

public class GtfsWriter
extends CsvEntityWriter


Field Summary
static java.lang.String KEY_CONTEXT
           
 
Constructor Summary
GtfsWriter()
           
 
Method Summary
protected  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.gtfs.csv.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 DefaultEntitySchemaFactory createEntitySchemaFactory()
Protected Methods



Copyright © 2011 OneBusAway. All Rights Reserved.