public class EcodFactory 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 |
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 String DEFAULT_VERSION
public static EcodDatabase getEcodDatabase()
public static EcodDatabase getEcodDatabase(String version)
public static void setEcodDatabase(String version)
version
- Copyright © 2000–2016 BioJava. All rights reserved.