org.onebusaway.gtfs.serialization.mappings
Class StopTimeFieldMappingFactory
java.lang.Object
org.onebusaway.gtfs.serialization.mappings.StopTimeFieldMappingFactory
- All Implemented Interfaces:
- org.onebusaway.csv_entities.schema.FieldMappingFactory
public class StopTimeFieldMappingFactory
- extends Object
- implements org.onebusaway.csv_entities.schema.FieldMappingFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopTimeFieldMappingFactory
public StopTimeFieldMappingFactory()
createFieldMapping
public org.onebusaway.csv_entities.schema.FieldMapping createFieldMapping(org.onebusaway.csv_entities.schema.EntitySchemaFactory schemaFactory,
Class<?> entityType,
String csvFieldName,
String objFieldName,
Class<?> objFieldType,
boolean required)
- Specified by:
createFieldMapping in interface org.onebusaway.csv_entities.schema.FieldMappingFactory
getSecondsAsString
public static String getSecondsAsString(int t)
getStringAsSeconds
public static int getStringAsSeconds(String value)
Copyright © 2012 OneBusAway. All Rights Reserved.