org.duracloud.retrieval
Class RetrievalTool

java.lang.Object
  extended by org.duracloud.retrieval.RetrievalTool

public class RetrievalTool
extends java.lang.Object

Starting point for the Retrieval Tool. The purpose of this tool is to retrieve content files from DuraCloud. When the Retrieval Tool is started, it will connect to DuraCloud and proceed to copy files from the provided list of spaces to the local file system under the content directory. Any files which already exist locally will be compared (via checksum) with the file in DuraCloud. If the files are different the local file will either be renamed or overwritten, depending on whether the overwrite flag is set. Once all files have been transferred to the local system the Retrieval Tool will exit. This tool (currently) provides no ongoing synchronization between DuraCloud and the local system.


Constructor Summary
RetrievalTool()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void runRetrievalTool(RetrievalToolConfig retConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrievalTool

public RetrievalTool()
Method Detail

runRetrievalTool

public void runRetrievalTool(RetrievalToolConfig retConfig)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009-2011 DuraSpace. All Rights Reserved.