public class ExternalResourceIvyResourceAdapter extends java.lang.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(java.lang.String cloneName) |
void |
close() |
boolean |
exists() |
long |
getContentLength() |
long |
getLastModified() |
ExternalResourceMetaData |
getMetaData() |
java.lang.String |
getName() |
boolean |
isLocal() |
java.io.InputStream |
openStream() |
void |
writeTo(java.io.File destination,
org.apache.ivy.util.CopyProgressListener progress) |
public ExternalResourceIvyResourceAdapter(org.apache.ivy.plugins.repository.Resource delegate)
public void writeTo(java.io.File destination,
org.apache.ivy.util.CopyProgressListener progress)
throws java.io.IOException
writeTo in interface ExternalResourcejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface ExternalResourcejava.io.IOExceptionpublic java.lang.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(java.lang.String cloneName)
clone in interface org.apache.ivy.plugins.repository.Resourcepublic java.io.InputStream openStream()
throws java.io.IOException
openStream in interface org.apache.ivy.plugins.repository.Resourcejava.io.IOExceptionpublic ExternalResourceMetaData getMetaData()
getMetaData in interface ExternalResourceCopyright © 2013. All rights reserved