| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private String | |
| private String | |
| private final String | |
| private static final Logger | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final MrDlibPreferences | |
| private String | |
| private final Version |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | Returns: the string used to make the query at mdl serverthe query holds the title of the selected entry. Used to make a query to the MDL Server queryWithTitle)Constructs the query based on title of the BibEntry. |
| public String | |
| public String | |
| public String | getName()
Implements org. Returns the localized name of this fetcher. |
| private String | Returns: Returns the server response. This is an XML document as a String.Contact the server with the title of the selected item |
| public List | performSearch(@NonNull BibEntry entry)
Implements org. Looks for hits which are matched by the given |
| DEFAULT_MRDLIB_ERROR_MESSAGE | back to summary |
|---|---|
| private static final String DEFAULT_MRDLIB_ERROR_MESSAGE | |
| description | back to summary |
|---|---|
| private String description | |
| heading | back to summary |
|---|---|
| private String heading | |
| LANGUAGE | back to summary |
|---|---|
| private final String LANGUAGE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MDL_JABREF_PARTNER_ID | back to summary |
|---|---|
| private static final String MDL_JABREF_PARTNER_ID | |
| MDL_URL | back to summary |
|---|---|
| private static final String MDL_URL | |
| NAME | back to summary |
|---|---|
| private static final String NAME | |
| preferences | back to summary |
|---|---|
| private final MrDlibPreferences preferences | |
| recommendationSetId | back to summary |
|---|---|
| private String recommendationSetId | |
| VERSION | back to summary |
|---|---|
| private final Version VERSION | |
| MrDLibFetcher | back to summary |
|---|---|
| public MrDLibFetcher(String language, Version version, MrDlibPreferences preferences) | |
| constructQuery | back to summary |
|---|---|
| private URL constructQuery(String queryWithTitle) throws URISyntaxException, MalformedURLException Constructs the query based on title of the BibEntry. Adds statistical stuff to the url. | |
| getDescription | back to summary |
|---|---|
| public String getDescription() | |
| getHeading | back to summary |
|---|---|
| public String getHeading() | |
| 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.
| |
| makeServerRequest | back to summary |
|---|---|
| private String makeServerRequest(URL url) throws FetcherException Contact the server with the title of the selected item
| |
| performSearch | back to summary |
|---|---|
| public List Implements org. Doc from org. Looks for hits which are matched by the given
| |