public interface ExternalResourceRepository
extends org.apache.ivy.plugins.repository.Repository
| Modifier and Type | Method and Description |
|---|---|
void |
downloadResource(ExternalResource resource,
File destination) |
ExternalResource |
getResource(String source) |
ExternalResource |
getResource(String source,
LocallyAvailableResourceCandidates localCandidates,
CachedExternalResource cached) |
ExternalResourceMetaData |
getResourceMetaData(String source)
Fetches only the metadata for the result.
|
void downloadResource(ExternalResource resource, File destination) throws IOException
IOExceptionExternalResource getResource(String source) throws IOException
getResource in interface org.apache.ivy.plugins.repository.RepositoryIOExceptionExternalResource getResource(String source, @Nullable LocallyAvailableResourceCandidates localCandidates, @Nullable CachedExternalResource cached) throws IOException
IOException@Nullable ExternalResourceMetaData getResourceMetaData(String source) throws IOException
source - The location of the resource to obtain the metadata forIOExceptionCopyright © 2013. All rights reserved