public class ExternalResourceIvyResourceAdapter extends Object implements ExternalResource
| Constructor and Description |
|---|
ExternalResourceIvyResourceAdapter(org.apache.ivy.plugins.repository.Resource delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.ivy.plugins.repository.Resource |
clone(String cloneName) |
void |
close() |
boolean |
exists() |
long |
getContentLength() |
long |
getLastModified() |
ExternalResourceMetaData |
getMetaData() |
String |
getName() |
boolean |
isLocal() |
InputStream |
openStream() |
void |
writeTo(File destination,
org.apache.ivy.util.CopyProgressListener progress) |
public ExternalResourceIvyResourceAdapter(org.apache.ivy.plugins.repository.Resource delegate)
public void writeTo(File destination, org.apache.ivy.util.CopyProgressListener progress) throws IOException
writeTo in interface ExternalResourceIOExceptionpublic void close()
throws IOException
close in interface ExternalResourceIOExceptionpublic String getName()
getName in interface org.apache.ivy.plugins.repository.Resourcepublic long getLastModified()
getLastModified in interface org.apache.ivy.plugins.repository.Resourcepublic long getContentLength()
getContentLength in interface org.apache.ivy.plugins.repository.Resourcepublic boolean exists()
exists in interface org.apache.ivy.plugins.repository.Resourcepublic boolean isLocal()
isLocal in interface org.apache.ivy.plugins.repository.Resourcepublic org.apache.ivy.plugins.repository.Resource clone(String cloneName)
clone in interface org.apache.ivy.plugins.repository.Resourcepublic InputStream openStream() throws IOException
openStream in interface org.apache.ivy.plugins.repository.ResourceIOExceptionpublic ExternalResourceMetaData getMetaData()
getMetaData in interface ExternalResourceCopyright © 2013. All rights reserved