public static class Agency.Writer extends Entity.Writer<Agency>
feed, row, tableName, writer| Modifier and Type | Method and Description |
|---|---|
Iterator<Agency> |
iterator()
Get an iterator over objects of this type.
|
void |
writeHeaders()
Write the CSV header.
|
void |
writeOneRow(Agency a)
Write one row of the CSV from the passed-in object.
|
convertToGtfsTime, endRecord, writeDateField, writeDoubleField, writeIntField, writeStringField, writeTable, writeTimeField, writeUrlFieldpublic Writer(GTFSFeed feed)
public void writeHeaders()
throws IOException
Entity.WriterwriteHeaders in class Entity.Writer<Agency>IOExceptionpublic void writeOneRow(Agency a) throws IOException
Entity.WriterwriteOneRow in class Entity.Writer<Agency>IOExceptionpublic Iterator<Agency> iterator()
Entity.Writeriterator in class Entity.Writer<Agency>Copyright © 2019. All rights reserved.