public class FileExternalResourceRepository extends org.apache.ivy.plugins.repository.file.FileRepository implements ExternalResourceRepository
| Constructor and Description |
|---|
FileExternalResourceRepository() |
| 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.
|
delete, get, getBaseDir, getProgressListener, isLocal, list, move, put, setBaseDir, setLocaladdTransferListener, fireTransferCompleted, fireTransferCompleted, fireTransferError, fireTransferError, fireTransferEvent, fireTransferInitiated, fireTransferProgress, fireTransferStarted, fireTransferStarted, getFileSeparator, getName, hasTransferListener, put, removeTransferListener, setName, standardize, toStringpublic void downloadResource(ExternalResource resource, File destination) throws IOException
downloadResource in interface ExternalResourceRepositoryIOExceptionpublic ExternalResource getResource(String source, LocallyAvailableResourceCandidates localCandidates, CachedExternalResource cached) throws IOException
getResource in interface ExternalResourceRepositoryIOExceptionpublic ExternalResourceMetaData getResourceMetaData(String source) throws IOException
ExternalResourceRepositorygetResourceMetaData in interface ExternalResourceRepositorysource - The location of the resource to obtain the metadata forIOExceptionpublic ExternalResource getResource(String source) throws IOException
getResource in interface org.apache.ivy.plugins.repository.RepositorygetResource in interface ExternalResourceRepositorygetResource in class org.apache.ivy.plugins.repository.file.FileRepositoryIOExceptionCopyright © 2013. All rights reserved