public static class GtfsFeedId.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GtfsFeedId |
build()
Creates a new GtfsFeedId.
|
protected String |
cleanId(String id)
Cleans the id before it is set.
|
GtfsFeedId.Builder |
fromGtfsFeed(org.onebusaway.csv_entities.CsvInputSource source)
Extracts a feed_id from the passed source for a GTFS feed.
|
GtfsFeedId.Builder |
id(String id) |
public GtfsFeedId.Builder id(String id)
public GtfsFeedId.Builder fromGtfsFeed(org.onebusaway.csv_entities.CsvInputSource source)
source
- the input sourceIOException
protected String cleanId(String id)
id
- The feed idpublic GtfsFeedId build()
Copyright © 2019. All rights reserved.