| java.lang.Object org.apache.ivy.plugins.repository.AbstractRepository org.apache.ivy.plugins.repository.vfs.VfsRepository
Method Summary | |
protected void | finalize() | public void | get(String srcVfsURI, File destination) Transfer a VFS Resource from the repository to the local file system. | public Resource | getResource(String vfsURI) | public List | list(String vfsURI) Return a listing of the contents of a parent directory. | public void | put(File source, String vfsURI, boolean overwrite) Transfer an Ivy resource to a VFS repository
Parameters: source - a File indentifying the local file to transfer to the repository Parameters: vfsURI - a String identifying the destination VFS Resource. Parameters: overwrite - whether to overwrite an existing resource. |
VfsRepository | public VfsRepository()(Code) | | Create a new Ivy VFS Repository Instance
|
finalize | protected void finalize()(Code) | | |
get | public void get(String srcVfsURI, File destination) throws IOException(Code) | | Transfer a VFS Resource from the repository to the local file system.
Parameters: srcVfsURI - a String identifying the VFS resource to be fetched Parameters: destination - a File identifying the destination file IOException on failure See Also: "Supported File Systems in the jakarta-commons-vfs documentation" |
getResource | public Resource getResource(String vfsURI) throws IOException(Code) | | Get a VfsResource
Parameters: source - a String identifying a VFS Resource IOException on failure See Also: "Supported File Systems in the jakarta-commons-vfs documentation" |
list | public List list(String vfsURI) throws IOException(Code) | | Return a listing of the contents of a parent directory. Listing is a set of strings
representing VFS URIs.
Parameters: vfsURI - providing identifying a VFS provided resource throws: IOException - on failure. See Also: "Supported File Systems in the jakarta-commons-vfs documentation" |
put | public void put(File source, String vfsURI, boolean overwrite) throws IOException(Code) | | Transfer an Ivy resource to a VFS repository
Parameters: source - a File indentifying the local file to transfer to the repository Parameters: vfsURI - a String identifying the destination VFS Resource. Parameters: overwrite - whether to overwrite an existing resource. IOException on failure. See Also: "Supported File Systems in the jakarta-commons-vfs documentation" |
|
|