public class GtfsLibrary extends Object
Modifier and Type | Field and Description |
---|---|
static char |
ID_SEPARATOR |
Constructor and Description |
---|
GtfsLibrary() |
Modifier and Type | Method and Description |
---|---|
static FeedScopedId |
convertIdFromString(String value) |
static String |
convertIdToString(FeedScopedId aid) |
static GtfsContext |
createContext(GtfsFeedId feedId,
OtpTransitService transitService) |
static GtfsContext |
createContext(GtfsFeedId feedId,
OtpTransitService transitService,
CalendarService calendarService) |
static String |
getRouteName(Route route) |
static TraverseMode |
getTraverseMode(Route route) |
static GtfsContext |
readGtfs(File path) |
public static final char ID_SEPARATOR
public static GtfsContext createContext(GtfsFeedId feedId, OtpTransitService transitService)
public static GtfsContext createContext(GtfsFeedId feedId, OtpTransitService transitService, CalendarService calendarService)
public static GtfsContext readGtfs(File path) throws IOException
IOException
public static FeedScopedId convertIdFromString(String value)
public static String convertIdToString(FeedScopedId aid)
public static String getRouteName(Route route)
public static TraverseMode getTraverseMode(Route route)
Copyright © 2019. All rights reserved.