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,
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.
|
delete, get, getBaseDir, getFileSeparator, getProgressListener, isLocal, list, move, put, setBaseDir, setLocal, standardizeaddTransferListener, fireTransferCompleted, fireTransferCompleted, fireTransferError, fireTransferError, fireTransferEvent, fireTransferInitiated, fireTransferProgress, fireTransferStarted, fireTransferStarted, getName, hasTransferListener, put, removeTransferListener, setName, toStringpublic void downloadResource(ExternalResource resource, java.io.File destination) throws java.io.IOException
downloadResource in interface ExternalResourceRepositoryjava.io.IOExceptionpublic ExternalResource getResource(java.lang.String source, LocallyAvailableResourceCandidates localCandidates, CachedExternalResource cached) throws java.io.IOException
getResource in interface ExternalResourceRepositoryjava.io.IOExceptionpublic ExternalResourceMetaData getResourceMetaData(java.lang.String source) throws java.io.IOException
ExternalResourceRepositorygetResourceMetaData in interface ExternalResourceRepositorysource - The location of the resource to obtain the metadata forjava.io.IOExceptionpublic ExternalResource getResource(java.lang.String source) throws java.io.IOException
getResource in interface org.apache.ivy.plugins.repository.RepositorygetResource in interface ExternalResourceRepositorygetResource in class org.apache.ivy.plugins.repository.file.FileRepositoryjava.io.IOExceptionCopyright © 2013. All rights reserved