public static class FeedInfo.Writer extends Entity.Writer<FeedInfo>
feed, row, tableName, writer| Modifier and Type | Method and Description |
|---|---|
Iterator<FeedInfo> |
iterator()
Get an iterator over objects of this type.
|
void |
writeHeaders()
Write the CSV header.
|
void |
writeOneRow(FeedInfo i)
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<FeedInfo>IOExceptionpublic void writeOneRow(FeedInfo i) throws IOException
Entity.WriterwriteOneRow in class Entity.Writer<FeedInfo>IOExceptionpublic Iterator<FeedInfo> iterator()
Entity.Writeriterator in class Entity.Writer<FeedInfo>Copyright © 2019. All rights reserved.