public class CathFactory
extends java.lang.Object
CathDatabases being used.
Implements a multiton pattern through getCathDatabase(String),
and a singleton pattern through getCathDatabase().ScopFactory,
CathInstallation| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_VERSION |
static java.lang.String |
LATEST_VERSION |
static java.lang.String |
VERSION_3_5_0 |
static java.lang.String |
VERSION_4_0_0 |
static java.lang.String |
VERSION_4_1_0 |
| Modifier and Type | Method and Description |
|---|---|
static CathDatabase |
getCathDatabase()
Returns the default (singleton) CathDatabase.
|
static CathDatabase |
getCathDatabase(java.lang.String version)
Returns a CATH database of the specified version.
|
static void |
setCath(CathDatabase cath)
Sets the default (singleton) CathDatabase.
|
public static final java.lang.String VERSION_3_5_0
public static final java.lang.String VERSION_4_0_0
public static final java.lang.String VERSION_4_1_0
public static final java.lang.String LATEST_VERSION
public static final java.lang.String DEFAULT_VERSION
public static void setCath(CathDatabase cath)
public static CathDatabase getCathDatabase()
public static CathDatabase getCathDatabase(java.lang.String version)
version - For example, "3.5.0"