| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private URL | |
| public String | getName()
Implements org. Returns the localized name of this fetcher. |
| public Parser | getParser()
Overrides org. Implements org. Returns the parser used to convert the response to a list of |
| public URL | getUrlForIdentifier(String identifier)
Implements org. Constructs a URL based on the query. |
| 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). |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Hides org. | |
| URL_PATTERN | back to summary |
|---|---|
| private static final String URL_PATTERN | |
| DnbFetcher | back to summary |
|---|---|
| public DnbFetcher(ImportFormatPreferences importFormatPreferences) | |
| buildSearchUrl | back to summary |
|---|---|
| private URL buildSearchUrl(String query, int pageNumber) throws URISyntaxException, MalformedURLException | |
| 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() Overrides org. Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |
| 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, 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).
| |