Examples of DcatJsonFeedWriter


Examples of com.esri.gpt.control.georss.DcatJsonFeedWriter

   
    try {
      cacheStream = cache.createOutputCacheStream();
      writer = new PrintWriter(new OutputStreamWriter(cacheStream, "UTF-8"));
     
      DcatJsonFeedWriter feedWriter = new DcatJsonFeedWriter(context, writer, query);
      feedWriter.setMessageBroker(msgBroker);
     
      query.setReturnables(new CoreQueryables(context).getFull());
     
      DcatJsonSearchEngine.DcatRecordsAdapter discoveredRecordsAdapter = new DcatJsonSearchEngine.DcatRecordsAdapter(msgBroker, linkBuilder, context, query);
     
      feedWriter.write(discoveredRecordsAdapter);
    } finally {
      LOGGER.info("DCAT cache update process completed.");
      if (writer!=null) {
          writer.close();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.