|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.plugins.repository.AbstractRepository
org.apache.ivy.plugins.repository.vfs.VfsRepository
public class VfsRepository
Implementation of a VFS repository
Constructor Summary | |
---|---|
VfsRepository()
Create a new Ivy VFS Repository Instance |
Method Summary | |
---|---|
protected void |
finalize()
|
void |
get(java.lang.String srcVfsURI,
java.io.File destination)
Transfer a VFS Resource from the repository to the local file system. |
Resource |
getResource(java.lang.String vfsURI)
Get a VfsResource |
java.util.List |
list(java.lang.String vfsURI)
Return a listing of the contents of a parent directory. |
void |
put(java.io.File source,
java.lang.String vfsURI,
boolean overwrite)
Transfer an Ivy resource to a VFS repository |
Methods inherited from class org.apache.ivy.plugins.repository.AbstractRepository |
---|
addTransferListener, fireTransferCompleted, fireTransferCompleted, fireTransferError, fireTransferError, fireTransferEvent, fireTransferInitiated, fireTransferProgress, fireTransferStarted, fireTransferStarted, getFileSeparator, getName, hasTransferListener, put, removeTransferListener, setName, standardize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VfsRepository()
Method Detail |
---|
protected void finalize()
finalize
in class java.lang.Object
public Resource getResource(java.lang.String vfsURI) throws java.io.IOException
source
- a String
identifying a VFS Resource
IOException
- on failure
java.io.IOException
- On error whle trying to get resource.public void get(java.lang.String srcVfsURI, java.io.File destination) throws java.io.IOException
srcVfsURI
- a String
identifying the VFS resource to be fetcheddestination
- a File
identifying the destination file
IOException
- on failure
java.io.IOException
- On retrieval failure.public java.util.List list(java.lang.String vfsURI) throws java.io.IOException
vfsURI
- providing identifying a VFS provided resource
java.io.IOException
- on failure.public void put(java.io.File source, java.lang.String vfsURI, boolean overwrite) throws java.io.IOException
put
in class AbstractRepository
source
- a File
indentifying the local file to transfer to the repositoryvfsURI
- a String
identifying the destination VFS Resource.overwrite
- whether to overwrite an existing resource.
IOException
- on failure.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |