edu.ucsb.nceas.metacat.util

## Class MetacatPopulator

- java.lang.Object
- - edu.ucsb.nceas.metacat.util.MetacatPopulator

-     public class MetacatPopulator
      extends java.lang.Object

  Author:
    berkley A class to populate a metacat instance based on documents returned from a query

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetacatPopulator(java.lang.String sourceUrl, java.lang.String destUrl, java.lang.String query, java.lang.String username, java.lang.String password)` create a new MetacatPopulator with given source and destination urls.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `populate()` populate from the source

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MetacatPopulator

          public MetacatPopulator(java.lang.String sourceUrl,
                                  java.lang.String destUrl,
                                  java.lang.String query,
                                  java.lang.String username,
                                  java.lang.String password)

      create a new MetacatPopulator with given source and destination urls. These should be of the form "http:///" If username and/or password is null, the query will be run as public
      Parameters:
        `sourceUrl` -
        `destUrl` -
        `query` -
        `username` -
        `password` -

  - ### Method Detail

    - #### populate

          public void populate()
                        throws java.lang.Exception

      populate from the source
      Throws:
        `java.lang.Exception`

Copyright © 2023 Regents of the University of California. All Rights Reserved.