|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.url.DupSimUrlChecker
public class DupSimUrlChecker
Checks for duplicate and similar urls within a specific collection.
Constructor Summary | |
---|---|
DupSimUrlChecker(String referenceUrl,
String collection,
ServletContext servletContext)
Constructor for the DupSimUrlChecker object, requiring ServletContext. |
Method Summary | |
---|---|
static String |
getDateString()
Gets the dateString attribute of the DupSimUrlChecker class |
List |
getDups()
Returns a list records in "collection" that contain either a PrimaryURL or MirrorURL that is a dupliate of the provided url. |
List |
getSims()
Returns a list of DupSim instances that represent records in "collection" that contain either a PrimaryURL or MirrorURL similar to the provided url. |
static List |
makeMirrorDupSims(ResultDocList results)
Create a list of DupSim instances representing each of the MirrorUrls for each of the provided ResultDocs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DupSimUrlChecker(String referenceUrl, String collection, ServletContext servletContext) throws Exception
servletContext
- referenceUrl
- The url for which we look for duplicates and similar
urlscollection
- The collection we look in
Exception
- if required helper objects cannot be found in the
servlet context initialized.Method Detail |
---|
public List getDups()
public List getSims()
public static List makeMirrorDupSims(ResultDocList results)
results
- An array of ResultDocs from which to extract the MirrorUrl
values
public static String getDateString()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |