org.dspace.ctask.general
Class MetadataValueLinkChecker
java.lang.Object
org.dspace.curate.AbstractCurationTask
org.dspace.ctask.general.BasicLinkChecker
org.dspace.ctask.general.MetadataValueLinkChecker
- All Implemented Interfaces:
- CurationTask
public class MetadataValueLinkChecker
- extends BasicLinkChecker
A link checker that builds upon the BasicLinkChecker to check URLs that
appear in all metadata fields where the field starts with http:// or https://
Of course thi assumes that there is no extra metadata following the URL.
- Author:
- Stuart Lewis
| Methods inherited from class org.dspace.curate.AbstractCurationTask |
dereference, distribute, init, perform, performItem, performObject, report, setResult, taskBooleanProperty, taskIntProperty, taskLongProperty, taskProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataValueLinkChecker
public MetadataValueLinkChecker()
getURLs
protected List<String> getURLs(Item item)
- Description copied from class:
BasicLinkChecker
- Get the URLs to check
- Overrides:
getURLs in class BasicLinkChecker
- Parameters:
item - The item to extract URLs from
- Returns:
- An array of URL Strings
Copyright © 2012 DuraSpace. All Rights Reserved.