public class DownloadableGtfsInputSource extends Object implements org.onebusaway.csv_entities.CsvInputSource
| Modifier and Type | Field and Description |
|---|---|
boolean |
useCached |
| Constructor and Description |
|---|
DownloadableGtfsInputSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getResource(String name) |
boolean |
hasResource(String name) |
void |
setCacheDirectory(File cacheDirectory) |
void |
setUrl(URL url) |
public void setUrl(URL url)
public void setCacheDirectory(File cacheDirectory)
public boolean hasResource(String name) throws IOException
hasResource in interface org.onebusaway.csv_entities.CsvInputSourceIOExceptionpublic InputStream getResource(String name) throws IOException
getResource in interface org.onebusaway.csv_entities.CsvInputSourceIOExceptionpublic void close()
throws IOException
close in interface org.onebusaway.csv_entities.CsvInputSourceIOExceptionCopyright © 2018. All rights reserved.