Package com.nardoz.restopengov.ckan.utils

Examples of com.nardoz.restopengov.ckan.utils.IResourceFormatReader


                    Crawler.logger.info("Completed extraction for: " + entry);

                    ElasticDatasetReaderResult callback = new ElasticDatasetReaderResult(resource, client);

                    IResourceFormatReader datasetReader = DatasetReader.read(resource, callback);

                    if(datasetReader != null) {
                        datasetReader.readFromFile("tmp/" + entry.getName());
                    }

                }

                zipinputstream.close();
View Full Code Here


            ElasticDatasetReaderResult callback = new ElasticDatasetReaderResult(resource, client);

            try {

                IResourceFormatReader datasetReader = DatasetReader.read(resource, callback);

                if(datasetReader != null) {
                    datasetReader.readFromResourceURL();
                }

            } catch (Exception e) {
                Crawler.logger.error(e.getMessage());
                e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.nardoz.restopengov.ckan.utils.IResourceFormatReader

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.