Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.cleanup

public Class URLCleanup

extends Object
implements CleanupJob
Class Inheritance
All Implemented Interfaces
org.jabref.logic.cleanup.CleanupJob
Imports
java.util.ArrayList, .List, java.util.regex.Matcher, .Pattern, org.jabref.logic.formatter.bibtexfields.NormalizeDateFormatter, org.jabref.model.FieldChange, org.jabref.model.entry.BibEntry, .Date, org.jabref.model.entry.field.Field, .StandardField

Checks whether URL exists in note field, and stores it under url field.

Field Summary

Modifier and TypeField and Description
private static final Pattern
private static final Pattern
private static final String
private final NormalizeDateFormatter
private static final Field
private static final Field
public static final Pattern
private static final String
private static final Field

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<FieldChange>
cleanup(BibEntry entry)

Implements org.jabref.logic.cleanup.CleanupJob.cleanup.

Cleans up the given entry and returns the list of changes made.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DATE_PATTERNback to summary
private static final Pattern DATE_PATTERN
DATE_TERMS_PATTERNback to summary
private static final Pattern DATE_TERMS_PATTERN
DATE_TERMS_REGEXback to summary
private static final String DATE_TERMS_REGEX
formatterback to summary
private final NormalizeDateFormatter formatter
NOTE_FIELDback to summary
private static final Field NOTE_FIELD
URL_FIELDback to summary
private static final Field URL_FIELD
URL_PATTERNback to summary
public static final Pattern URL_PATTERN
URL_REGEXback to summary
private static final String URL_REGEX
URLDATE_FIELDback to summary
private static final Field URLDATE_FIELD

Constructor Detail

URLCleanupback to summary
public URLCleanup()

Method Detail

cleanupback to summary
public List<FieldChange> cleanup(BibEntry entry)

Implements org.jabref.logic.cleanup.CleanupJob.cleanup.

Doc from org.jabref.logic.cleanup.CleanupJob.cleanup.

Cleans up the given entry and returns the list of changes made.

Annotations
@Override