Class GtfsWriter
- java.lang.Object
-
- org.onebusaway.csv_entities.CsvEntityWriter
-
- org.onebusaway.gtfs.serialization.GtfsWriter
-
- All Implemented Interfaces:
org.onebusaway.csv_entities.EntityHandler
public class GtfsWriter extends org.onebusaway.csv_entities.CsvEntityWriter
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_CONTEXT
-
Constructor Summary
Constructors Constructor Description GtfsWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.onebusaway.csv_entities.schema.DefaultEntitySchemaFactorycreateEntitySchemaFactory()Protected MethodsList<Class<?>>getEntityClasses()Map<Class<?>,Comparator<?>>getEntityComparators()voidrun(GtfsDao dao)voidsetOutputLocation(File path)
-
-
-
Field Detail
-
KEY_CONTEXT
public static final String KEY_CONTEXT
-
-
Method Detail
-
setOutputLocation
public void setOutputLocation(File path)
- Overrides:
setOutputLocationin classorg.onebusaway.csv_entities.CsvEntityWriter
-
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
-
-