- All Superinterfaces:
DSSFileLoader,Serializable
This class implements a file loader implementing a caching mechanism, allowing to remove
cache externally (to be used within a
CacheCleaner)-
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.DSSDocumentgetDocument(String url, boolean refresh) This method allows to download aDSSDocumentfrom a specifiedurlwith a custom setting indicating whether therefreshof the document's cache shall be enforced, when applicableeu.europa.esig.dss.model.DSSDocumentAllows to load a document for a given url from the cache folder.booleanRemoves the file from cache with the given urlMethods inherited from interface eu.europa.esig.dss.spi.client.http.DSSFileLoader
getDocument
-
Method Details
-
getDocument
This method allows to download aDSSDocumentfrom a specifiedurlwith a custom setting indicating whether therefreshof the document's cache shall be enforced, when applicable- Parameters:
url-Stringremote location of the document to downloadrefresh- indicates whether the refresh of the cached document shall be enforced- Returns:
DSSDocument
-
getDocumentFromCache
-
remove
-