thredds.cataloggen.config
Class DatasetSourceType
java.lang.Object
thredds.cataloggen.config.DatasetSourceType
public final class DatasetSourceType
- extends java.lang.Object
Type-safe enumeration of CatalogGen DatasetSource types.
- Version:
- $Revision: 63 $
- Author:
- Ethan Davis (from John Caron's thredds.catalog.ServiceType)
|
Method Summary |
static DatasetSourceType |
getType(java.lang.String name)
Find the DatasetSourceType that matches this name. |
java.lang.String |
toString()
Return the string name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
getType
public static DatasetSourceType getType(java.lang.String name)
- Find the DatasetSourceType that matches this name.
- Parameters:
name -
- Returns:
- DatasetSourceType or null if no match.
toString
public java.lang.String toString()
- Return the string name.
- Overrides:
toString in class java.lang.Object