Package com.bhle.ingest

Examples of com.bhle.ingest.Sip


public class SipReader implements ItemReader<File> {

  @BeforeStep
  public void init(StepExecution stepExecution) {
    // this.stepExecution = stepExecution;
    Sip sip = new Sip(guid, URI.create(uri));
    List<File> items = sip.getItems();
    if (items.isEmpty()) {
      throw new UnexpectedInputException("SIP has no item");
    }
    iterator = sip.getItems().iterator();

    batchIngestTracker.init(guid);
  }
View Full Code Here

TOP

Related Classes of com.bhle.ingest.Sip

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.