org.onebusaway.csv_entities
Class CsvEntityWriter
java.lang.Object
org.onebusaway.csv_entities.CsvEntityWriter
- All Implemented Interfaces:
- EntityHandler
public class CsvEntityWriter
- extends Object
- implements EntityHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvEntityWriter
public CsvEntityWriter()
getEntitySchemaFactory
public EntitySchemaFactory getEntitySchemaFactory()
setEntitySchemaFactory
public void setEntitySchemaFactory(EntitySchemaFactory entitySchemaFactory)
setOutputLocation
public void setOutputLocation(File path)
excludeOptionalAndMissingFields
public void excludeOptionalAndMissingFields(Class<?> entityType,
Iterable<Object> entities)
handleEntity
public void handleEntity(Object entity)
- Specified by:
handleEntity in interface EntityHandler
flush
public void flush()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2012 OneBusAway. All Rights Reserved.