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.CsvInputSource
IOException
public InputStream getResource(String name) throws IOException
getResource
in interface org.onebusaway.csv_entities.CsvInputSource
IOException
public void close() throws IOException
close
in interface org.onebusaway.csv_entities.CsvInputSource
IOException
Copyright © 2019. All rights reserved.