| Modifier and Type | Field and Description |
|---|---|
| private final ImporterPreferences | |
| private static final Logger | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | buildSearchURL(String query, int pageNumber)
Builds the search URL for the given query string The query is sent as the |
| public Optional | Returns: The fulltext PDF URL Optional, if found, or an empty Optional if not found.The Bibtex entry entry)Tries to find a fulltext URL for a given BibTex entry. |
| public String | getName()
Implements org. Returns the localized name of this fetcher. |
| public Parser | getParser()
Implements org. Returns the parser used to convert the response to a list of |
| public TrustLevel | getTrustLevel()
Implements org. Returns the level of trust for this fetcher. |
| pack-priv String | |
| public URL | getURLForQuery(BaseQueryNode queryNode, int pageNumber)
Implements org. Constructs a URL based on the query, size and page number. |
| public URL | getURLForRawQuery(String rawQuery, int pageNumber)
Overrides default org. Constructs a URL that sends the raw, catalog-native query verbatim to the catalog (bypassing the query transformer). |
| private BibEntry | Returns: The BibEntry that corresponds to the received objectan entry received, needs to be parsed into a BibEntry itemThis is copy-paste from CrossRef, need to be checked. |
| public List | Returns: a list ofBibEntry, which are matched by the query (may be empty)entry to search bibliographic information for entry)Implements org. Looks for hits which are matched by the given |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SOURCE_ID_SEARCH | back to summary |
|---|---|
| private static final String SOURCE_ID_SEARCH | |
| SOURCE_WEB_SEARCH | back to summary |
|---|---|
| private static final String SOURCE_WEB_SEARCH | |
| SemanticScholar | back to summary |
|---|---|
| public SemanticScholar(ImporterPreferences importerPreferences) | |
| buildSearchURL | back to summary |
|---|---|
| private URL buildSearchURL(String query, int pageNumber) throws URISyntaxException, MalformedURLException Builds the search URL for the given query string The query is sent as the | |
| findFullText | back to summary |
|---|---|
| public Optional Tries to find a fulltext URL for a given BibTex entry. Uses the DOI if present, otherwise the arXiv identifier.
| |
| 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. Returns the parser used to convert the response to a list of
| |
| getTrustLevel | back to summary |
|---|---|
| public TrustLevel getTrustLevel() Implements org. Doc from org. Returns the level of trust for this fetcher. We distinguish between publishers and meta search engines for example.
| |
| getURLBySource | back to summary |
|---|---|
| pack-priv String getURLBySource(String source) throws IOException, FetcherException | |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(BaseQueryNode queryNode, int pageNumber) throws URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the query, size and page number.
| |
| getURLForRawQuery | back to summary |
|---|---|
| public URL getURLForRawQuery(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException Overrides default org. Doc from org. Constructs a URL that sends the raw, catalog-native query verbatim to the catalog (bypassing the query transformer).
| |
| jsonItemToBibEntry | back to summary |
|---|---|
| private BibEntry jsonItemToBibEntry(kong. This is copy-paste from CrossRef, need to be checked.
| |
| performSearch | back to summary |
|---|---|
| public List Implements org. Looks for hits which are matched by the given | |