Uses of Class
org.goplanit.gtfs.util.GtfsFileConditions
-
Packages that use GtfsFileConditions Package Description org.goplanit.gtfs.reader org.goplanit.gtfs.util -
-
Uses of GtfsFileConditions in org.goplanit.gtfs.reader
Methods in org.goplanit.gtfs.reader with parameters of type GtfsFileConditions Modifier and Type Method Description protected voidGtfsFileReaderBase. setPresenceCondition(GtfsFileConditions filePresenceCondition)Explicitly indicate the expectations regarding the presence of this file. -
Uses of GtfsFileConditions in org.goplanit.gtfs.util
Methods in org.goplanit.gtfs.util that return GtfsFileConditions Modifier and Type Method Description static GtfsFileConditionsGtfsFileConditions. optional()Create a file condition indicating it is optionalstatic GtfsFileConditionsGtfsFileConditions. required()Create a file condition indicating it is requiredstatic GtfsFileConditionsGtfsFileConditions. requiredInAbsenceOf(GtfsFileType otherFileType)Create a file condition indicating it is required if another file is not presentstatic GtfsFileConditionsGtfsFileConditions. requiredinPresenceOf(GtfsFileType otherFileType)Create a file condition indicating it is required if another file is presentMethods in org.goplanit.gtfs.util with parameters of type GtfsFileConditions Modifier and Type Method Description static FileInputStreamGtfsUtils. createFileInputStream(File gtfsFileLocation, GtfsFileConditions filePresenceCondition)Create a file based input stream for given file and issue warnings dependent on the presence conditions imposed if it is not presentstatic InputStreamGtfsUtils. createInputStream(URL gtfsLocation, GtfsFileScheme fileScheme, GtfsFileConditions filePresenceCondition)Based on passed in location and the file scheme create an input stream to the appropriate file, log warnings if not present but conditions require otherwise.static InputStreamGtfsUtils. createZipEntryInputStream(URL gtfsLocation, String zipInternalFileName, GtfsFileConditions filePresenceCondition)Create a zip based input stream for given zip internal file location and issue warnings dependent on the presence conditions imposed if it is not present
-