Package edu.ucsb.nceas.metacat.client
Class MetacatFactory
java.lang.Object
edu.ucsb.nceas.metacat.client.MetacatFactory
This class is a factory which allows the caller to create an instance of
a Metacat object for accessing a metacat server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Metacat
createMetacatConnection
(String metacatUrl) Create a new instance of a Metacat object of raccessing a server.
-
Constructor Details
-
MetacatFactory
public MetacatFactory()
-
-
Method Details
-
createMetacatConnection
public static Metacat createMetacatConnection(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
-