org.apache.ivy.plugins.repository

Class AbstractRepository

public abstract class AbstractRepository extends Object implements Repository

Method Summary
voidaddTransferListener(TransferListener listener)
protected voidfireTransferCompleted()
protected voidfireTransferCompleted(long totalLength)
protected voidfireTransferError()
protected voidfireTransferError(Exception ex)
protected voidfireTransferEvent(TransferEvent evt)
protected voidfireTransferInitiated(Resource res, int requestType)
protected voidfireTransferProgress(long length)
protected voidfireTransferStarted()
protected voidfireTransferStarted(long totalLength)
StringgetFileSeparator()
StringgetName()
booleanhasTransferListener(TransferListener listener)
voidput(Artifact artifact, File source, String destination, boolean overwrite)
protected voidput(File source, String destination, boolean overwrite)
voidremoveTransferListener(TransferListener listener)
voidsetName(String name)
Stringstandardize(String source)
StringtoString()

Method Detail

addTransferListener

public void addTransferListener(TransferListener listener)

fireTransferCompleted

protected void fireTransferCompleted()

fireTransferCompleted

protected void fireTransferCompleted(long totalLength)

fireTransferError

protected void fireTransferError()

fireTransferError

protected void fireTransferError(Exception ex)

fireTransferEvent

protected void fireTransferEvent(TransferEvent evt)

fireTransferInitiated

protected void fireTransferInitiated(Resource res, int requestType)

fireTransferProgress

protected void fireTransferProgress(long length)

fireTransferStarted

protected void fireTransferStarted()

fireTransferStarted

protected void fireTransferStarted(long totalLength)

getFileSeparator

public String getFileSeparator()

getName

public String getName()

hasTransferListener

public boolean hasTransferListener(TransferListener listener)

put

public void put(Artifact artifact, File source, String destination, boolean overwrite)

put

protected void put(File source, String destination, boolean overwrite)

removeTransferListener

public void removeTransferListener(TransferListener listener)

setName

public void setName(String name)

standardize

public String standardize(String source)

toString

public String toString()