Package org.fao.oaipmh.requests

Examples of org.fao.oaipmh.requests.ListIdentifiersRequest


  public HarvestResult harvest(Logger log) throws Exception {

      this.log = log;

    ListIdentifiersRequest req = new ListIdentifiersRequest(context.getBean(GeonetHttpRequestFactory.class));
    req.setSchemaPath(new File(context.getAppPath() + Geonet.SchemaPath.OAI_PMH));

        XmlRequest t = req.getTransport();
    try {
      t.setUrl(new URL(params.url));
        } catch (MalformedURLException e1) {
            HarvestError harvestError = new HarvestError(e1, log);
            harvestError.setDescription(harvestError.getDescription() + " " + params.url);
View Full Code Here

TOP

Related Classes of org.fao.oaipmh.requests.ListIdentifiersRequest

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.