DLESE Tools
v1.6.0

org.dlese.dpc.services.mmd
Class CatchDup

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

public class CatchDup
extends Object

Catches duplicate resources

Author:
Sonal Bhushan, John Weatherley

Constructor Summary
CatchDup(long c1, String u1, String id1, long c2, String u2, String id2, String exc)
          Constructor for the CatchDup object
 
Method Summary
 boolean isDup()
          Gets the dup attribute of the CatchDup object
static void reloadIdExclusionDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
c2 - Checksum of the Second Resource
u1 - Url of the First Resource
u2 - Url of the Second Resource
id1 - ID of the First Resource
id2 - ID of the Second Resource
exc - the location of the dup exclusion file
Method Detail

reloadIdExclusionDocument

public static void reloadIdExclusionDocument()

isDup

public boolean isDup()
Gets the dup attribute of the CatchDup object

Returns:
The dup value

DLESE Tools
v1.6.0