thredds.cataloggen.config
Class DatasetSourceStructure

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

public final class DatasetSourceStructure
extends Object

Type-safe enumeration of CatalogGen DatasetSource structures.

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

Field Summary
static DatasetSourceStructure DIRECTORY_TREE
           
static DatasetSourceStructure FLAT
           
 
Method Summary
static DatasetSourceStructure getStructure(String name)
          Find the DatasetSourceStructure 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

FLAT

public static final DatasetSourceStructure FLAT

DIRECTORY_TREE

public static final DatasetSourceStructure DIRECTORY_TREE
Method Detail

getStructure

public static DatasetSourceStructure getStructure(String name)
Find the DatasetSourceStructure that matches this name.

Parameters:
name -
Returns:
DatasetSourceStructure 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.