net.sourceforge.taverna.publish.p2p
Class JxtaRepository

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

public class JxtaRepository
extends AbstractRepository

This class Last edited by $Author: sowen70 $

Version:
$Revision: 1.2 $
Author:
Mark

Constructor Summary
JxtaRepository(org.apache.commons.vfs.FileObject localShareRoot)
          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
 

Constructor Detail

JxtaRepository

public JxtaRepository(org.apache.commons.vfs.FileObject localShareRoot)
Constructor

Parameters:
localShareRoot -
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)