ucar.units
Class StandardUnitDB

java.lang.Object
  extended by ucar.units.UnitDBImpl
      extended by ucar.units.StandardUnitDB
All Implemented Interfaces:
Serializable, UnitDB

public final class StandardUnitDB
extends UnitDBImpl

Provides support for a database of standard units.

Version:
$Id: StandardUnitDB.java 64 2006-07-12 22:30:50Z edavis $
Author:
Steven R. Emmerson
See Also:
Serialized Form

Method Summary
static StandardUnitDB instance()
          Gets an instance of this database.
static void main(String[] args)
          Tests this class.
 
Methods inherited from class ucar.units.UnitDBImpl
add, addAlias, addAlias, addAlias, addAlias, addSymbol, addUnit, get, getByName, getBySymbol, getIterator, nameCount, symbolCount, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

instance

public static StandardUnitDB instance()
                               throws UnitDBException
Gets an instance of this database.

Returns:
An instance of this database.
Throws:
UnitDBException - The instance couldn't be created.

main

public static void main(String[] args)
                 throws Exception
Tests this class.

Throws:
Exception


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