public class EcodFactory extends Object
EcodDatabases
being used.
Implements a multiton pattern through getEcodDatabase(String)
,
and a singleton pattern through getEcodDatabase()
.ScopFactory
,
CathFactory
,
EcodInstallation
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_VERSION |
Modifier and Type | Method and Description |
---|---|
static EcodDatabase |
getEcodDatabase()
Returns the (singleton) database for the current default version
|
static EcodDatabase |
getEcodDatabase(String version) |
static void |
setEcodDatabase(String version)
Updates the default version
|
public static final String DEFAULT_VERSION
public static EcodDatabase getEcodDatabase()
public static EcodDatabase getEcodDatabase(String version)
public static void setEcodDatabase(String version)
version
- Copyright © 2000–2019 BioJava. All rights reserved.