See their GitHub page for documentation.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| public static final String | |
| private final ImporterPreferences | |
| private static final String | |
| private static final FetcherRateLimiter | RATE_LIMITER
Rate limit for the CrossRef REST API public pool. |
| private static final RemoveEnclosingBracesFormatter |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| API_URL | back to summary |
|---|---|
| private static final String API_URL | |
| FETCHER_NAME | back to summary |
|---|---|
| public static final String FETCHER_NAME | |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| MAILTO_PARAMETER | back to summary |
|---|---|
| private static final String MAILTO_PARAMETER | |
| RATE_LIMITER | back to summary |
|---|---|
| private static final FetcherRateLimiter RATE_LIMITER Rate limit for the CrossRef REST API public pool.
CrossRef's public pool defaults to 50 req/s, as measured via X-Rate-Limit-Interval/X-Rate-Limit-Limit
response headers - consistent with | |
| REMOVE_BRACES_FORMATTER | back to summary |
|---|---|
| private static final RemoveEnclosingBracesFormatter REMOVE_BRACES_FORMATTER | |
| CrossRef | back to summary |
|---|---|
| public CrossRef() | |
| CrossRef | back to summary |
|---|---|
| public CrossRef(ImporterPreferences importerPreferences) | |
| addMailtoParameter | back to summary |
|---|---|
| private void addMailtoParameter(URIBuilder uriBuilder) | |
| convertType | back to summary |
|---|---|
| private EntryType convertType(String type) | |
| doPostCleanup | back to summary |
|---|---|
| public void doPostCleanup(BibEntry entry) Overrides default org. Doc from org. Performs a cleanup of the fetched entry. Only systematic errors of the fetcher should be corrected here (i.e. if information is consistently contained in the wrong field or the wrong format) but not cosmetic issues which may depend on the user's taste (for example, LateX code vs HTML in the abstract). Try to reuse existing By default, no cleanup is done.
| |
| extractIdentifier | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Extracts the identifier from the list of fetched entries.
| |
| findIdentifier | back to summary |
|---|---|
| public Optional Implements org. Doc from org. Looks for an identifier based on the information stored in the given
| |
| getHelpPage | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Returns the help page for this fetcher.
| |
| getIdentifierName | back to summary |
|---|---|
| public String getIdentifierName() Implements org. Doc from org. Returns the name of the identifier that is returned by this fetcher.
| |
| getKeywords | back to summary |
|---|---|
| private String getKeywords(kong. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns the localized name of this fetcher. The title can be used to display the fetcher in the menu and in the side pane. Todo This name is also used for identifying the fetcher in preferences for API keys. Thus, any switch of the language will "remove" API keys.
| |
| getParser | back to summary |
|---|---|
| public Parser getParser() Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |
| getTestUrl | back to summary |
|---|---|
pack-priv String getTestUrl(String apiKey)
| |
| getURLForEntry | back to summary |
|---|---|
| public URL getURLForEntry(BibEntry entry) throws URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the
| |
| getUrlForIdentifier | back to summary |
|---|---|
| public URL getUrlForIdentifier(String identifier) throws URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the query.
| |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(BaseQueryNode queryNode) throws URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the lucene query.
| |
| isValidKey | back to summary |
|---|---|
| public boolean isValidKey(@NonNull String apiKey) Overrides default org. Doc from org. Returns whether the API key is valid
| |
| jsonItemToBibEntry | back to summary |
|---|---|
| private BibEntry jsonItemToBibEntry(kong. | |
| performSearch | back to summary |
|---|---|
| public List Implements org. Doc from org. Looks for hits which are matched by the given
| |
| performSearch | back to summary |
|---|---|
| public List Overrides default org. Doc from org. This method is used to send queries with advanced URL parameters. This method is necessary as the performSearch method does not support certain URL parameters that are used for fielded search, such as a title, author, or year parameter.
| |
| performSearchById | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Looks for bibliographic information associated to the given identifier.
| |
| toAuthors | back to summary |
|---|---|
| private String toAuthors(kong. | |