public class CachedExternalResourceAdapter extends LocalFileStandInExternalResource
| Constructor and Description |
|---|
CachedExternalResourceAdapter(String source,
CachedExternalResource cached,
ExternalResourceAccessor accessor) |
CachedExternalResourceAdapter(String source,
CachedExternalResource cached,
ExternalResourceAccessor accessor,
ExternalResourceMetaData metaData) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
long |
getLastModified() |
String |
toString() |
void |
writeTo(File destination,
org.apache.ivy.util.CopyProgressListener progress) |
exists, getLocalFile, getLocalFileSha1, getMetaData, getName, getSha1, isLocal, openStreamclone, closepublic CachedExternalResourceAdapter(String source, CachedExternalResource cached, ExternalResourceAccessor accessor)
public CachedExternalResourceAdapter(String source, CachedExternalResource cached, ExternalResourceAccessor accessor, ExternalResourceMetaData metaData)
public long getLastModified()
getLastModified in interface org.apache.ivy.plugins.repository.ResourcegetLastModified in class LocalFileStandInExternalResourcepublic long getContentLength()
getContentLength in interface org.apache.ivy.plugins.repository.ResourcegetContentLength in class LocalFileStandInExternalResourcepublic void writeTo(File destination, org.apache.ivy.util.CopyProgressListener progress) throws IOException
writeTo in interface ExternalResourcewriteTo in class AbstractExternalResourceIOExceptionCopyright © 2013. All rights reserved