org.onebusaway.gtfs.serialization.mappings
Class StopTimeFieldMappingFactory

java.lang.Object
  extended by 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


Constructor Summary
StopTimeFieldMappingFactory()
           
 
Method Summary
 org.onebusaway.csv_entities.schema.FieldMapping createFieldMapping(org.onebusaway.csv_entities.schema.EntitySchemaFactory schemaFactory, Class<?> entityType, String csvFieldName, String objFieldName, Class<?> objFieldType, boolean required)
           
static String getSecondsAsString(int t)
           
static int getStringAsSeconds(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopTimeFieldMappingFactory

public StopTimeFieldMappingFactory()
Method Detail

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.