Examples of DcatDistributionList


Examples of com.esri.gpt.framework.dcat.dcat.DcatDistributionList

     * Selects access URL.
     * @param r DCAT record
     * @return access URL or empty string if no access URL present
     */
    private String selectAccessUrl(DcatRecord r) {
      DcatDistributionList distList = r.getDistribution();
      for (DcatDistribution d : distList) {
        if (!d.getAccessURL().isEmpty() && formatPattern.matcher(Val.chkStr(d.getMediaType(), d.getFormat())).matches()) {
          return d.getAccessURL();
        }
      }
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.