Class UpdateTripHeadsignRailRoadConvention
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.impl.UpdateTripHeadsignRailRoadConvention
-
- All Implemented Interfaces:
GtfsTransformStrategy
public class UpdateTripHeadsignRailRoadConvention extends Object implements GtfsTransformStrategy
Updates the trip headsign to follow "railroad convention", which isto , e.g. "10:43a to New York Penn Station". We just add the time here--we assume the trip headsign is already present via the other transforms that manipulate this. **That means this transform should be run *after* those others**.
-
-
Constructor Summary
Constructors Constructor Description UpdateTripHeadsignRailRoadConvention()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidrun(TransformContext context, GtfsMutableRelationalDao dao)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onebusaway.gtfs_transformer.services.GtfsTransformStrategy
updateReadSchema, updateWriteSchema
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceGtfsTransformStrategy
-
run
public void run(TransformContext context, GtfsMutableRelationalDao dao)
- Specified by:
runin interfaceGtfsTransformStrategy
-
-