net.sourceforge.taverna.publish.sftp
Class SFTPRepository

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

public class SFTPRepository
extends AbstractRepository
implements Repository

This class represents a Secure FTP repository. Last edited by $Author: sowen70 $

Version:
$Revision: 1.2 $
Author:
Mark

Constructor Summary
SFTPRepository(java.lang.String root)
          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

SFTPRepository

public SFTPRepository(java.lang.String root)
Constructor

Parameters:
root -
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:
Repository.publish(org.apache.commons.vfs.FileObject[], org.apache.commons.vfs.FileObject)