net.sourceforge.taverna.publish.webdav
Class WebDAVRepository

java.lang.Object
  extended by net.sourceforge.taverna.publish.AbstractRepository
      extended by net.sourceforge.taverna.publish.webdav.WebDAVRepository
All Implemented Interfaces:
Repository

public class WebDAVRepository
extends AbstractRepository
implements Repository

This class represents a webdav workflow repository. Last edited by $Author: sowen70 $

Version:
$Revision: 1.2 $
Author:
Mark

Constructor Summary
WebDAVRepository(java.lang.String rootFileUrl)
          Constructor
 
Method Summary
 void publish(org.apache.commons.vfs.FileObject[] filelist, org.apache.commons.vfs.FileObject startingDir)
          This method publishes a list of files, to selected directory.
 
Methods inherited from class net.sourceforge.taverna.publish.AbstractRepository
delete, getBaseURL, getFileList, getFileList, getFileSystem, getFsManager, getName, getRoot, searchByFileName, searchByWorkFlowAuthor, searchByWorkFlowDescription, setBaseURL, setFileSystem, setFsManager, setName, setRoot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.taverna.publish.Repository
delete, getBaseURL, getName, getRoot, searchByFileName, searchByWorkFlowAuthor, searchByWorkFlowDescription, setBaseURL, setName
 

Constructor Detail

WebDAVRepository

public WebDAVRepository(java.lang.String rootFileUrl)
Constructor

Parameters:
rootFileUrl -
Method Detail

publish

public void publish(org.apache.commons.vfs.FileObject[] filelist,
                    org.apache.commons.vfs.FileObject startingDir)
             throws PublicationException
Description copied from interface: Repository
This method publishes a list of files, to selected directory. If the directory is null, the filelist will be published to the root of the repository.

Specified by:
publish in interface Repository
Specified by:
publish in class AbstractRepository
Parameters:
filelist - The list of files to be written.
startingDir - The directory in which to deposit the files. This directory is relative to the repository root directory.
Throws:
PublicationException
See Also:
net.sourceforge.taverna.publish.Repository#publish(java.io.File[], java.io.File)