public interface RetrieverStorage
| Modifier and Type | Method and Description |
|---|---|
String |
maybeDownloadResource(String elementName,
String attributeName,
String resourceUri,
Attributes attributes)
Download the resource if the storage wants to do that, and if downloaded
return the URI of the downloaded resource.
|
void |
storeContent(String content)
Store the content that was retrieved and processed
|
void storeContent(String content) throws IOException, RepositoryException
IOExceptionRepositoryExceptionString maybeDownloadResource(String elementName, String attributeName, String resourceUri, Attributes attributes) throws IOException, RepositoryException
elementName - the html element that contains the URIattributeName - the html attribute that contains the URIresourceUri - the attribute value (absolute URL)attributes - the rest of the element's attributesIOExceptionRepositoryExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved