- DateXmlAdapter - Class in com.syncthemall.diffbot.converter
-
XmlAdapter to convert String from Diffbot Frontpage results to Date.
- DateXmlAdapter() - Constructor for class com.syncthemall.diffbot.converter.DateXmlAdapter
-
- DiffbotAPI - Class in com.syncthemall.diffbot.api
-
This is the main class of the SDK and allows to call:
The Article API to extract informations (title, images, main content etc...) from an article web page.
The Frontpage API to extract the elements (articles, posts, etc...) from the home page of a website.
The batch API allowing execute multiple Article or Frontpage requests at once.
- DiffbotAPI(HttpTransport, JsonFactory, String) - Constructor for class com.syncthemall.diffbot.api.DiffbotAPI
-
Constructor allowing to set the Diffbot developer token and the underlying implementations for the HTTP client
and the JSON parser.
- DiffbotAPIException - Exception in com.syncthemall.diffbot.exception
-
Represents an internal error in the Diffbot API (on Diffbot servers).
- DiffbotAPIException(int, String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotAPIException
-
Constructs a new exception with the specified error code, detail message and cause.
- DiffbotAPIException(int, String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotAPIException
-
Constructs a new exception with the specified error code and detail message.
- DiffbotException - Exception in com.syncthemall.diffbot.exception
-
A base Exception for all exceptions specifics to Diffbot and this SDK.
- DiffbotException(String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotException
-
Constructs a new exception with the specified detail message and cause.
- DiffbotException(String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotException
-
Constructs a new exception with the specified detail message.
- DiffbotIOException - Exception in com.syncthemall.diffbot.exception
-
Wraps an IOExceptions when using the SDK, typically resulting from network-related issues.
- DiffbotIOException(String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotIOException
-
Constructs a new exception with the specified detail message and cause.
- DiffbotIOException(String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotIOException
-
Constructs a new exception with the specified detail message.
- DiffbotParseException - Exception in com.syncthemall.diffbot.exception
-
Thrown when a response from Diffbot (JSON or DML) is not conform and cannot be parsed.
- DiffbotParseException(String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotParseException
-
Constructs a new exception with the specified detail message and cause.
- DiffbotParseException(String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotParseException
-
Constructs a new exception with the specified detail message.
- DiffbotServerException - Exception in com.syncthemall.diffbot.exception
-
Wraps any non-200 HTTP responses from an API call.
- DiffbotServerException(int, String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotServerException
-
Constructs a new exception with the specified error code, detail message and cause.
- DiffbotServerException(int, String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotServerException
-
Constructs a new exception with the specified error code and detail message.
- DiffbotUnauthorizedException - Exception in com.syncthemall.diffbot.exception
-
Thrown when the authorization to use the Diffbot API is refused.
- DiffbotUnauthorizedException(String, Throwable) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotUnauthorizedException
-
Constructs a new exception with the specified detail message and cause.
- DiffbotUnauthorizedException(String) - Constructor for exception com.syncthemall.diffbot.exception.DiffbotUnauthorizedException
-
Constructs a new exception with the specified detail message.
- dontStripAds() - Method in class com.syncthemall.diffbot.api.ArticleRequest
-
Don't strip any inline ads.