Class FileDownloader
java.lang.Object
ai.wanaku.capabilities.sdk.runtime.camel.downloader.FileDownloader
- All Implemented Interfaces:
Downloader
Downloader for local files using the file:// URI scheme.
Copies files from the local filesystem to the data directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadResource(ResourceRefs<URI> resourceName, Map<ResourceType, Path> downloadedResources)
-
Constructor Details
-
FileDownloader
-
-
Method Details
-
downloadResource
public void downloadResource(ResourceRefs<URI> resourceName, Map<ResourceType, Path> downloadedResources) throws Exception- Specified by:
downloadResourcein interfaceDownloader- Throws:
Exception
-