edu.ucsb.nceas.metacat.client
Class MetacatFactory

java.lang.Object
  extended byedu.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
MetacatFactory()
           
 
Method Summary
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 © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.