org.apache.ivy.plugins.repository.url

Class URLResource

public class URLResource extends Object implements Resource

Constructor Summary
URLResource(URL url)
Method Summary
Resourceclone(String cloneName)
booleanexists()
longgetContentLength()
longgetLastModified()
StringgetName()
URLgetURL()
booleanisLocal()
InputStreamopenStream()
StringtoString()

Constructor Detail

URLResource

public URLResource(URL url)

Method Detail

clone

public Resource clone(String cloneName)

exists

public boolean exists()

getContentLength

public long getContentLength()

getLastModified

public long getLastModified()

getName

public String getName()

getURL

public URL getURL()

isLocal

public boolean isLocal()

openStream

public InputStream openStream()

toString

public String toString()