Package org.onebusaway.csv_entities

Examples of org.onebusaway.csv_entities.ZipFileCsvInputSource


        if (csvInputSource == null) {
            if (path != null) {
                if (path.isDirectory()) {
                    csvInputSource = new FileCsvInputSource(path);
                } else {
                    csvInputSource = new ZipFileCsvInputSource(new ZipFile(path));
                }
            } else if (url != null) {
                DownloadableGtfsInputSource isrc = new DownloadableGtfsInputSource();
                isrc.setUrl(url);
                if (cacheDirectory != null)
View Full Code Here


        throw new IllegalStateException("DownloadableGtfsInputSource did not include an url");
    }

    private synchronized void checkIfDownloaded() throws IOException {
        if (_zip == null) {
            _zip = new ZipFileCsvInputSource(new ZipFile(getPathForGtfsBundle()));
        }
    }
View Full Code Here

TOP

Related Classes of org.onebusaway.csv_entities.ZipFileCsvInputSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.