DLESE Tools
v1.6.0

org.dlese.dpc.services.dds.toolkit
Class DDSRepositoryFetcher

java.lang.Object
  extended by org.dlese.dpc.services.dds.toolkit.DDSRepositoryFetcher

public class DDSRepositoryFetcher
extends Object

Downloads entire DDS repositories and writes to local disk using the DDSServicesToolkit.

Author:
ostwald

Method Summary
static void fetch(String baseUrl, File backupsDir, String instanceName)
          Download all collections of repository and write to disk.
static void main(String[] args)
          The main program for the DDSRepositoryFetcher class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fetch

public static void fetch(String baseUrl,
                         File backupsDir,
                         String instanceName)
Download all collections of repository and write to disk.

Parameters:
baseUrl - DDS webservice baseUrl
backupsDir - Destination repository to be written
instanceName - name of repository used to name disk files

main

public static void main(String[] args)
                 throws Exception
The main program for the DDSRepositoryFetcher class

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0