Class CatchDup

java.lang.Object
org.dlese.dpc.services.mmd.CatchDup

public class CatchDup extends Object
Catches duplicate resources
Author:
Sonal Bhushan, John Weatherley
  • Constructor Details

    • CatchDup

      public CatchDup(long c1, String u1, String id1, long c2, String u2, String id2, String exc)
      Constructor for the CatchDup object
      Parameters:
      c1 - Checksum of the First Resource
      u1 - Url of the First Resource
      id1 - ID of the First Resource
      c2 - Checksum of the Second Resource
      u2 - Url of the Second Resource
      id2 - ID of the Second Resource
      exc - the location of the dup exclusion file
  • Method Details

    • reloadIdExclusionDocument

      public static void reloadIdExclusionDocument()
    • isDup

      public boolean isDup()
      Gets the dup attribute of the CatchDup object
      Returns:
      The dup value