Top Fields Constructors Methods
org.jabref.logic.util

public Class ExternalLinkCreator

extends Object
Class Inheritance
Imports
java.net.URISyntaxException, java.util.Optional, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, org.apache.hc.core5.net.URIBuilder

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Optional<String>

Returns:

The URL if it was successfully created
getShortScienceSearchURL
(BibEntry
The entry to search for. Expects the BibEntry's title to be set for successful return.
entry
)

Get a URL to the search results of ShortScience for the BibEntry's title

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SHORTSCIENCE_SEARCH_URLback to summary
private static final String SHORTSCIENCE_SEARCH_URL

Constructor Detail

ExternalLinkCreatorback to summary
public ExternalLinkCreator()

Method Detail

getShortScienceSearchURLback to summary
public static Optional<String> getShortScienceSearchURL(BibEntry entry)

Get a URL to the search results of ShortScience for the BibEntry's title

Parameters
entry:BibEntry

The entry to search for. Expects the BibEntry's title to be set for successful return.

Returns:Optional<String>

The URL if it was successfully created