org.apache.ivy.plugins.repository

Class LazyResource

public abstract class LazyResource extends Object implements Resource

Constructor Summary
LazyResource(String name)
Method Summary
booleanexists()
longgetContentLength()
longgetLastModified()
StringgetName()
protected abstract voidinit()
protected voidinit(Resource r)
booleanisLocal()
protected voidsetContentLength(long contentLength)
protected voidsetExists(boolean exists)
protected voidsetLastModified(long lastModified)
protected voidsetLocal(boolean local)
StringtoString()

Constructor Detail

LazyResource

public LazyResource(String name)

Method Detail

exists

public boolean exists()

getContentLength

public long getContentLength()

getLastModified

public long getLastModified()

getName

public String getName()

init

protected abstract void init()

init

protected void init(Resource r)

isLocal

public boolean isLocal()

setContentLength

protected void setContentLength(long contentLength)

setExists

protected void setExists(boolean exists)

setLastModified

protected void setLastModified(long lastModified)

setLocal

protected void setLocal(boolean local)

toString

public String toString()