Class StifRecordReader
- java.lang.Object
-
- org.onebusaway.transit_data_federation.bundle.tasks.stif.StifRecordReader
-
public class StifRecordReader extends Object
Read records from a STIF file. STIF is MTA's internal format for bus information. All names are from the MTA's documentation for STIF, version 2.5. This only supports a tiny subset of STIF -- just what we need for location matching. We get the rest of the schedule data from GTFS.
-
-
Constructor Summary
Constructors Constructor Description StifRecordReader(InputStream stream)
-
-
-
Constructor Detail
-
StifRecordReader
public StifRecordReader(InputStream stream)
-
-
Method Detail
-
read
public StifRecord read() throws IOException
Read the next record from the STIF file. Returns null at end-of-file- Throws:
IOException
-
-