Class OldFieldInfoMap

java.lang.Object
org.dlese.dpc.schemedit.vocab.FieldInfoMap
org.dlese.dpc.schemedit.vocab.OldFieldInfoMap

public class OldFieldInfoMap extends FieldInfoMap
Populates a by reading from a file specified in Framework config file (with name ending in "filename-list.xml"). The filename-list file contained:
  • a directoryURL - pointing to a directory where the individual fields files would be located
  • a list of file names that were appended to the directoryURL to access the individual fields files.
An example filename-list file can be found at: http://www.dlese.org/Metadata/adn-item/0.6.50/build/filename-list.xml
Author:
ostwald
  • Constructor Details

    • OldFieldInfoMap

      public OldFieldInfoMap(String uri)
      Constructor for the OldFieldInfoMap object
      Parameters:
      uri - Description of the Parameter
    • OldFieldInfoMap

      public OldFieldInfoMap()
      Constructor for the OldFieldInfoMap object
  • Method Details

    • init

      public void init() throws Exception
      Read a listing of URIs Fields files from directoryUri and then loads each of the listed files as FieldInfoReader objects, which are stored in a map.
      Specified by:
      init in class FieldInfoMap
      Throws:
      Exception - Description of the Exception
    • main

      public static void main(String[] args) throws Exception
      Read a set of fields files
      Parameters:
      args - The command line arguments
      Throws:
      Exception - Description of the Exception
    • prtln

      protected static void prtln(String s)
      Output a line of text to standard out, with datestamp, if debug is set to true.
      Parameters:
      s - The String that will be output.