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