public final class UnitDBManager
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UnitDBManager() |
Modifier and Type | Method and Description |
---|---|
static UnitDB |
instance()
Gets the default unit database.
|
static void |
setInstance(UnitDB instance)
Sets the default unit database.
|
public static UnitDB instance() throws UnitDBException
UnitDBException
- The default unit database couldn't be created.public static void setInstance(UnitDB instance)
instance
- The unit database to be made the default one.