Top Description Constructors Methods
org.jabref.logic.integrity

public Class ValidCitationKeyChecker

extends Object
implements ValueChecker
Class Inheritance
All Implemented Interfaces
org.jabref.logic.integrity.ValueChecker
Imports
java.util.Optional, org.jabref.logic.citationkeypattern.CitationKeyGenerator, org.jabref.logic.l10n.Localization, org.jabref.model.strings.StringUtil

Makes sure the key is legal

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Optional<String>
checkValue(String value)

Implements org.jabref.logic.integrity.ValueChecker.checkValue.

Validates the specified value.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ValidCitationKeyCheckerback to summary
public ValidCitationKeyChecker()

Method Detail

checkValueback to summary
public Optional<String> checkValue(String value)

Implements org.jabref.logic.integrity.ValueChecker.checkValue.

Doc from org.jabref.logic.integrity.ValueChecker.checkValue.

Validates the specified value. Returns an error message if the validation failed. Otherwise, an empty optional is returned.

Returns:Optional<String>

Validation error message

Annotations
@Override