Package ucar.units
Class PrefixDBManager
- java.lang.Object
-
- ucar.units.PrefixDBManager
-
- All Implemented Interfaces:
Serializable
public final class PrefixDBManager extends Object implements Serializable
Provides support for managing a database of unit prefixes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrefixDBManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrefixDB
instance()
Gets the current prefix database.static void
setInstance(PrefixDB instance)
Sets the current prefix database.
-
-
-
Method Detail
-
instance
public static PrefixDB instance() throws PrefixDBException
Gets the current prefix database.- Returns:
- The current prefix database.
- Throws:
PrefixDBException
- The current prefix database couldn't be created.
-
setInstance
public static void setInstance(PrefixDB instance)
Sets the current prefix database.- Parameters:
instance
- The prefix database to be made the current one.
-
-