org.onebusaway.csv_entities
Class FileCsvInputSource
java.lang.Object
org.onebusaway.csv_entities.FileCsvInputSource
- All Implemented Interfaces:
- CsvInputSource
public class FileCsvInputSource
- extends Object
- implements CsvInputSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCsvInputSource
public FileCsvInputSource(File sourceDirectory)
hasResource
public boolean hasResource(String name)
throws IOException
- Specified by:
hasResource in interface CsvInputSource
- Throws:
IOException
getResource
public InputStream getResource(String name)
throws IOException
- Specified by:
getResource in interface CsvInputSource
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface CsvInputSource
- Throws:
IOException
Copyright © 2012 OneBusAway. All Rights Reserved.