| Modifier and Type | Field and Description |
|---|---|
| protected final ImportFormatPreferences |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Optional | getHelpPage()
Overrides default org. Returns the help page for this fetcher. |
| public Parser | getParser()
Implements org. Returns the parser used to convert the response to a list of |
| importFormatPreferences | back to summary |
|---|---|
| protected final ImportFormatPreferences importFormatPreferences | |
| AbstractIsbnFetcher | back to summary |
|---|---|
| public AbstractIsbnFetcher(ImportFormatPreferences importFormatPreferences) | |
| ensureThatIsbnIsValid | back to summary |
|---|---|
| protected void ensureThatIsbnIsValid(String identifier) throws URISyntaxException
Implementation Note We could have created a new exception (which causes much implementation efforts) or we could have used "FetcherException", which is currently more used for I/O errors than syntax errors (thus also more WTF). Moreover, a ISBN is "kind of" an URI (even if the isbn: prefix is missing)
| |
| getHelpPage | back to summary |
|---|---|
| public Optional Overrides default org. Doc from org. Returns the help page for this fetcher.
| |
| getParser | back to summary |
|---|---|
| public Parser getParser() Implements org. Doc from org. Returns the parser used to convert the response to a list of
| |