All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gwdg.metadataqa.marc.cli.processor.BibliographicInputProcessor Maven / Gradle / Ivy

package de.gwdg.metadataqa.marc.cli.processor;

import de.gwdg.metadataqa.marc.dao.record.BibliographicRecord;
import de.gwdg.metadataqa.marc.cli.parameters.CommonParameters;
import org.apache.commons.cli.Options;
import org.marc4j.marc.Record;

import java.io.IOException;
import java.nio.file.Path;

public interface BibliographicInputProcessor {

  CommonParameters getParameters();
  void processRecord(Record marc4jRecord, int recordNumber) throws IOException;
  void processRecord(BibliographicRecord marcRecord, int recordNumber) throws IOException;
  void beforeIteration();
  void fileOpened(Path path);
  void fileProcessed();
  void afterIteration(int numberOfprocessedRecords);
  void printHelp(Options options);
  boolean readyToProcess();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy