edu.ucsb.nceas.metacat.client

## Class MetacatFactory

- java.lang.Object
- - edu.ucsb.nceas.metacat.client.MetacatFactory

-     public class MetacatFactory
      extends java.lang.Object

  This class is a factory which allows the caller to create an instance of a Metacat object for accessing a metacat server.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetacatFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Metacat` | `createMetacatConnection(java.lang.String metacatUrl)` Create a new instance of a Metacat object of raccessing a server.

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

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

- - ### Constructor Detail

    - #### MetacatFactory

          public MetacatFactory()

  - ### Method Detail

    - #### createMetacatConnection

          public static Metacat createMetacatConnection(java.lang.String metacatUrl)
                                                 throws MetacatInaccessibleException

      Create a new instance of a Metacat object of raccessing a server.
      Parameters:
        `metacatUrl` - the url location of the metacat server
      Throws:
        `MetacatInaccessibleException` - when the metacat server can not be reached

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