Class DDSRepositoryFetcher

java.lang.Object
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 Details

    • 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