|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.netcdf.QuantityDBManager
public final class QuantityDBManager
Provides support for managing a database of quantities. This class insulates the user from knowing or caring, for example, whether or not the quantity database is unchanging or whether it's implemented using singletons.
| Method Summary | |
|---|---|
protected static QuantityDB |
defaultInstance()
Returns the default quantity database. |
static QuantityDB |
instance()
Returns the current instance of the quantity database. |
static void |
main(String[] args)
Tests this class by listing the contents -- one per line -- in the following format: |
static void |
setInstance(QuantityDB db)
Sets the current instance of the quantity database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static QuantityDB defaultInstance()
throws VisADException
VisADException - Couldn't create necessary VisAD object.public static QuantityDB instance()
public static void setInstance(QuantityDB db)
throws VisADException
db - The new current instance of the quantity
database. May be null, in which
case the default instance is used.
VisADException - Couldn't create necessary VisAD object.
public static void main(String[] args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||