public class CathFactory extends 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 String |
DEFAULT_VERSION |
static String |
LATEST_VERSION |
static String |
VERSION_3_5_0 |
static String |
VERSION_4_0_0 |
static String |
VERSION_4_1_0 |
static String |
VERSION_4_2_0 |
Modifier and Type | Method and Description |
---|---|
static CathDatabase |
getCathDatabase()
Returns the default (singleton) CathDatabase.
|
static CathDatabase |
getCathDatabase(String version)
Returns a CATH database of the specified version.
|
static void |
setCath(CathDatabase cath)
Sets the default (singleton) CathDatabase.
|
public static final String VERSION_3_5_0
public static final String VERSION_4_0_0
public static final String VERSION_4_1_0
public static final String VERSION_4_2_0
public static final String LATEST_VERSION
public static final String DEFAULT_VERSION
public static void setCath(CathDatabase cath)
public static CathDatabase getCathDatabase()
public static CathDatabase getCathDatabase(String version)
version
- For example, "3.5.0"Copyright © 2000–2018 BioJava. All rights reserved.