public class MockGtfs extends Object
Modifier and Type | Method and Description |
---|---|
static MockGtfs |
create() |
File |
getPath() |
FeedScopedId |
id(String id) |
void |
putAgencies(int numberOfRows,
String... columns) |
void |
putCalendarDates(String... specs) |
void |
putCalendars(int numberOfServiceIds,
String... columns) |
void |
putDefaultAgencies() |
void |
putDefaultCalendar() |
void |
putDefaultRoutes() |
void |
putDefaultStops() |
void |
putDefaultStopTimes() |
void |
putDefaultTrips() |
void |
putFile(String fileName,
File file) |
void |
putFile(String fileName,
String content) |
void |
putLines(String fileName,
String... rows) |
void |
putMinimal() |
void |
putRoutes(int numberOfRows,
String... columns) |
void |
putStops(int numberOfRows,
String... columns) |
void |
putStopTimes(String tripIds,
String stopIds) |
void |
putTrips(int numberOfRows,
String routeIds,
String serviceIds,
String... columns) |
OtpTransitService |
read() |
OtpTransitService |
read(org.onebusaway.gtfs.serialization.GtfsReader reader) |
public MockGtfs(File path)
public static MockGtfs create() throws IOException
IOException
public File getPath()
public void putFile(String fileName, File file) throws IOException
IOException
public OtpTransitService read() throws IOException
IOException
public OtpTransitService read(org.onebusaway.gtfs.serialization.GtfsReader reader) throws IOException
IOException
public void putMinimal()
public void putAgencies(int numberOfRows, String... columns)
public void putDefaultAgencies()
public void putRoutes(int numberOfRows, String... columns)
public void putDefaultRoutes()
public void putStops(int numberOfRows, String... columns)
public void putDefaultStops()
public void putCalendars(int numberOfServiceIds, String... columns)
public void putDefaultCalendar()
public void putCalendarDates(String... specs)
public void putTrips(int numberOfRows, String routeIds, String serviceIds, String... columns)
public void putDefaultTrips()
public void putDefaultStopTimes()
public FeedScopedId id(String id)
Copyright © 2019. All rights reserved.