Class Idmap

java.lang.Object
org.dlese.dpc.services.idmapper.Idmap

public class Idmap extends Object
Id mapper main interface. See badparms for usage doc.
Author:
Sonal Bhushan
  • Method Details

    • main

      public static void main(String[] args)
      The main program for the Idmap class
      Parameters:
      args - The command line arguments are as follows: props=[properties file name] # Required dir=[input directory] # Required coll=[metadata format]/[collection key] # Optional, may be repeated email=normal | force | print | [email address] Testing/debug parms ... bugs=[debugLevel] # Set debug level. default is 0. checknet=[y/n] # Check network before beginning. Default is y maxthreads=[num] # Force maxthreads. Default is 0: use the props file number Example: to check links on all active collections: java org.dlese.dpc.services.idmapper.Idmap props=somePropsFile dir=/export/dlese/records Example: to test two individual collections (adl and dcc), both using adn format, and print the output: java org.dlese.dpc.services.idmapper.Idmap props=somePropsFile dir=/export/dlese/records coll=adn/adl coll=adn/dcc email=print