org.onebusaway.gtfs.csv
Class FileCsvInputSource

java.lang.Object
  extended by org.onebusaway.gtfs.csv.FileCsvInputSource
All Implemented Interfaces:
CsvInputSource

public class FileCsvInputSource
extends java.lang.Object
implements CsvInputSource


Constructor Summary
FileCsvInputSource(java.io.File sourceDirectory)
           
 
Method Summary
 void close()
           
 java.io.InputStream getResource(java.lang.String name)
           
 boolean hasResource(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCsvInputSource

public FileCsvInputSource(java.io.File sourceDirectory)
Method Detail

hasResource

public boolean hasResource(java.lang.String name)
                    throws java.io.IOException
Specified by:
hasResource in interface CsvInputSource
Throws:
java.io.IOException

getResource

public java.io.InputStream getResource(java.lang.String name)
                                throws java.io.IOException
Specified by:
getResource in interface CsvInputSource
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface CsvInputSource
Throws:
java.io.IOException


Copyright © 2011 OneBusAway. All Rights Reserved.