public interface RetrieverStorage
Modifier and Type | Method and Description |
---|---|
java.lang.String |
maybeDownloadResource(java.lang.String elementName,
java.lang.String attributeName,
java.lang.String resourceUri,
org.xml.sax.Attributes attributes)
Download the resource if the storage wants to do that, and if downloaded
return the URI of the downloaded resource.
|
void |
storeContent(java.lang.String content)
Store the content that was retrieved and processed
|
void storeContent(java.lang.String content) throws java.io.IOException, RepositoryException
java.io.IOException
RepositoryException
java.lang.String maybeDownloadResource(java.lang.String elementName, java.lang.String attributeName, java.lang.String resourceUri, org.xml.sax.Attributes attributes) throws java.io.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 attributesjava.io.IOException
RepositoryException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"