ucar.units
Class StandardPrefixDB

java.lang.Object
  extended by ucar.units.PrefixDBImpl
      extended by ucar.units.StandardPrefixDB
All Implemented Interfaces:
Serializable, PrefixDB

public final class StandardPrefixDB
extends PrefixDBImpl

Provides support for a database of standard unit prefixes.

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

Method Summary
static StandardPrefixDB instance()
          Gets an instance of this database.
static void main(String[] args)
          Tests this class.
 
Methods inherited from class ucar.units.PrefixDBImpl
addName, addSymbol, getPrefixByName, getPrefixBySymbol, getPrefixByValue, iterator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

instance

public static StandardPrefixDB instance()
                                 throws PrefixDBException
Gets an instance of this database.

Returns:
An instance of this database.
Throws:
PrefixDBException - 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.