|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.netcdf.units.DefaultUnitsDB
| Constructor Summary | |
DefaultUnitsDB(UnitsDB db)
Deprecated. Use visad.data.units.DefaultUnitsDB(db) instead |
|
| Method Summary | |
Unit |
get(String name)
Deprecated. Get a unit. |
Enumeration |
getNameEnumeration()
Deprecated. Get an enumeration of the unit names in the database. |
Enumeration |
getSymbolEnumeration()
Deprecated. Get an enumeration of the unit symbols in the database. |
Enumeration |
getUnitEnumeration()
Deprecated. Get an enumeration of the units in the database. |
static UnitsDB |
instance()
Deprecated. Use visad.data.units.DefaultUnitsDB.instance() instead |
void |
list()
Deprecated. List the units in the database. |
void |
put(BaseUnit bu)
Deprecated. Adds a base unit. |
void |
putName(String name,
Unit u)
Deprecated. Adds a name and a unit to the name table. |
void |
putSymbol(String name,
Unit u)
Deprecated. Adds a symbol and a unit to the symbol table. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultUnitsDB(UnitsDB db)
| Method Detail |
public static UnitsDB instance()
throws UnitException
UnitExceptionpublic Unit get(String name)
UnitsDB
get in interface UnitsDBname - The name of the unit to be retrieved from the database.
public Enumeration getNameEnumeration()
UnitsDB
getNameEnumeration in interface UnitsDBpublic Enumeration getSymbolEnumeration()
UnitsDB
getSymbolEnumeration in interface UnitsDBpublic Enumeration getUnitEnumeration()
UnitsDB
getUnitEnumeration in interface UnitsDBpublic void list()
UnitsDB
list in interface UnitsDBpublic void put(BaseUnit bu)
UnitsDB
put in interface UnitsDB
public void putName(String name,
Unit u)
UnitsDB
putName in interface UnitsDBname - The name to be added.u - The unit to be added.
public void putSymbol(String name,
Unit u)
UnitsDB
putSymbol in interface UnitsDBname - The symbol to be added.u - The unit to be added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||