addFromHtml

addFromHtml(String text) method

Adds text from specified html string to the collection.

Parameters

NameTypeDescription
textStringHTML text.

Returns

void


addFromHtml(String text, HtmlExternalResolver resolver, String uri) method

Adds text from specified html string to the collection.

Parameters

NameTypeDescription
textStringHTML text.
resolverHtmlExternalResolverResolver callback object which resolves URIs and fetches referrenced objects.
uriStringURI for adding HTML document. Used for resolving relative links. Specifying resolver can potentially introduce a vulnurability. Use with caution.

Returns

void


addFromHtml(String text, ExternalResourceResolver resolver, String uri) method

Adds text from specified html string to the collection.

Parameters

NameTypeDescription
textStringHTML text.
resolverExternalResourceResolverResolver callback object which resolves URIs and fetches referrenced objects.
uriStringURI for adding HTML document. Used for resolving relative links. Specifying resolver can potentially introduce a vulnurability. Use with caution.

Returns

void