Class AddExtensionFile
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.impl.AddExtensionFile
-
- All Implemented Interfaces:
GtfsTransformStrategy
public class AddExtensionFile extends Object implements GtfsTransformStrategy
Insert a GTFS extension into a GTFS file via a transformation. See the unit test for example usage.
-
-
Constructor Summary
Constructors Constructor Description AddExtensionFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidrun(TransformContext context, GtfsMutableRelationalDao dao)voidsetExtensionFilename(String extensionFilename)voidsetExtensionName(String extensionName)-
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
-
setExtensionFilename
public void setExtensionFilename(String extensionFilename)
-
setExtensionName
public void setExtensionName(String extensionName)
-
run
public void run(TransformContext context, GtfsMutableRelationalDao dao)
- Specified by:
runin interfaceGtfsTransformStrategy
-
-