thredds.cataloggen.config
Class DatasetSourceType

java.lang.Object
  extended by thredds.cataloggen.config.DatasetSourceType

public final class DatasetSourceType
extends Object

Type-safe enumeration of CatalogGen DatasetSource types.

Version:
$Revision: 63 $
Author:
Ethan Davis (from John Caron's thredds.catalog.ServiceType)

Field Summary
static DatasetSourceType DODS_DIR
           
static DatasetSourceType DODS_FILE_SERVER
           
static DatasetSourceType GRADS_DATA_SERVER
           
static DatasetSourceType LOCAL
           
 
Method Summary
static DatasetSourceType getType(String name)
          Find the DatasetSourceType that matches this name.
 String toString()
          Return the string name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCAL

public static final DatasetSourceType LOCAL

DODS_FILE_SERVER

public static final DatasetSourceType DODS_FILE_SERVER

DODS_DIR

public static final DatasetSourceType DODS_DIR

GRADS_DATA_SERVER

public static final DatasetSourceType GRADS_DATA_SERVER
Method Detail

getType

public static DatasetSourceType getType(String name)
Find the DatasetSourceType that matches this name.

Parameters:
name -
Returns:
DatasetSourceType or null if no match.

toString

public String toString()
Return the string name.

Overrides:
toString in class Object


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.