Class RegistryExporter

java.lang.Object
org.dlese.dpc.schemedit.standards.util.RegistryExporter

public class RegistryExporter extends Object
Dumps the contents of a StandardsRegistry contents to file in tab-delimited form (one row per standards doc).

The tab-delimited file can be loaded into a spreadsheet to visualize the attributes (such as title, topic, author, year) of the documents. The recprd for each standards doc contains a "selected" column, which can be marked up to indicate what documents are to be used.

After saving the file (again as tab-delimited) the file can be processed by the python script, standardsFilesTool.py, to copy selected standards documents into a specified destination directory, which can then be used to load the StandardsRegistry (and therefore the standardsSuggestionService) with the selected files.

Author:
Jonathan Ostwald
  • Method Details

    • export

      public void export(File file)
      Write a tab-delimited file containing a record for each standards document.
      Parameters:
      file - the file in which to export the standards docs contained in the StandardsRegistry
    • main

      public static void main(String[] args) throws Exception
      The main program for the RegistryExporter class
      Parameters:
      args - The command line arguments
      Throws:
      Exception - NOT YET DOCUMENTED