ucar.units
Class UnitFormatManager

java.lang.Object
  extended by ucar.units.UnitFormatManager
All Implemented Interfaces:
java.io.Serializable

public final class UnitFormatManager
extends java.lang.Object
implements java.io.Serializable

Provides support for managing a default UnitFormat.

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

Constructor Summary
UnitFormatManager()
           
 
Method Summary
static UnitFormat instance()
          Returns an instance of the default unit format.
static void setInstance(UnitFormat instance)
          Sets the instance of the default unit format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitFormatManager

public UnitFormatManager()
Method Detail

instance

public static final UnitFormat instance()
Returns an instance of the default unit format.

Returns:
An instance of the default unit format.

setInstance

public static final void setInstance(UnitFormat instance)
Sets the instance of the default unit format. You'd better know what you're doing if you call this method.

Parameters:
instance - An instance of the new, default unit format.