| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private final ImporterPreferences | |
| private final ImportFormatPreferences |
| Access | Constructor and Description |
|---|---|
| public | AstrophysicsDataSystem(ImportFormatPreferences preferences, ImporterPreferences importerPreferences)
|
| Modifier and Type | Method and Description |
|---|---|
| private static String | buildPostData(Collection<String>
collection of bibcodes for which a JSON object should be created bibcodes)
|
| public void | doPostCleanup(BibEntry
the entry to be cleaned-up entry)Overrides default org. Performs a cleanup of the fetched entry. |
| private List | Returns: list of bibcodes matching the search request. May be emptysearch ul for which bibcode will be returned url)
|
| public Optional | getHelpPage()
Overrides default org. Returns the help page for this fetcher. |
| 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 URLDownload | getUrlDownload(URL url)
Overrides default org. Constructs an |
| public URL | Returns: URL which points to a search request for given entryBibEntry for which a search URL is created entry)Implements org. Constructs a URL based on the |
| private static URL | |
| public URL | Returns: URL which points to a search URL for given identifierbibcode or doi for which a search URL is created identifier)Implements org. Constructs a URL based on the query. |
| public URL | Returns: URL which points to a search request for given queryquery string, matching the apache solr format luceneQuery,the number of the page indexed from 0 pageNumber)Implements org. Constructs a URL based on the query, size and page number. |
| public List | performSearch(BibEntry
entry to search bibliographic information for entry)Overrides default org. Looks for hits which are matched by the given |
| public List | performSearch(org.
the root node of the lucene query luceneQueryOverrides default org. This method is used to send queries with advanced URL parameters. |
| public Optional | performSearchById(String
a string which uniquely identifies the item identifier)Overrides default org. Looks for bibliographic information associated to the given identifier. |
| private List | Returns: list of bibentries matching the bibcodes. Can be empty and differ in size to the size of requested bibcodesbibcodes for which bibentries ahould be fetched identifiers)
|
| public Page | performSearchPaged(org.
the root node of the lucene query luceneQuery,requested site number indexed from 0 pageNumber)Overrides default org.
|
| API_EXPORT_URL | back to summary |
|---|---|
| private static final String API_EXPORT_URL | |
| API_KEY | back to summary |
|---|---|
| private static final String API_KEY | |
| API_SEARCH_URL | back to summary |
|---|---|
| private static final String API_SEARCH_URL | |
| importerPreferences | back to summary |
|---|---|
| private final ImporterPreferences importerPreferences | |
| preferences | back to summary |
|---|---|
| private final ImportFormatPreferences preferences | |
| AstrophysicsDataSystem | back to summary |
|---|---|
| public AstrophysicsDataSystem(ImportFormatPreferences preferences, ImporterPreferences importerPreferences) | |
| buildPostData | back to summary |
|---|---|
private static String buildPostData(Collection<String> bibcodes)
| |
| 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. | |
| fetchBibcodes | back to summary |
|---|---|
| private List | |
| getHelpPage | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Returns the help page for this fetcher. | |
| 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. | |
| getParser | back to summary |
|---|---|
| public Parser getParser() Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |
| getUrlDownload | back to summary |
|---|---|
| public URLDownload getUrlDownload(URL url) Overrides default org. Doc from org. Constructs an
| |
| getURLForEntry | back to summary |
|---|---|
| public URL getURLForEntry(BibEntry entry) throws URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the | |
| getURLforExport | back to summary |
|---|---|
private static URL getURLforExport() throws URISyntaxException, MalformedURLException
| |
| getUrlForIdentifier | back to summary |
|---|---|
| public URL getUrlForIdentifier(String identifier) throws FetcherException, URISyntaxException, MalformedURLException Implements org. Doc from org. Constructs a URL based on the query. | |
| getURLForQuery | back to summary |
|---|---|
| public URL getURLForQuery(org. Implements org. Doc from org. Constructs a URL based on the query, size and page number. | |
| performSearch | back to summary |
|---|---|
| public List Overrides default 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. | |
| performSearchByIds | back to summary |
|---|---|
private List
| |
| performSearchPaged | back to summary |
|---|---|
| public Page Overrides default org.
| |