Class EcodFactory

java.lang.Object
org.biojava.nbio.structure.ecod.EcodFactory

public class EcodFactory extends Object
Controls global EcodDatabases being used. Implements a multiton pattern through getEcodDatabase(String), and a singleton pattern through getEcodDatabase().
Author:
Spencer Bliven
See Also:
  • Field Details

  • Method Details

    • getEcodDatabase

      public static EcodDatabase getEcodDatabase()
      Returns the (singleton) database for the current default version
    • getEcodDatabase

      public static EcodDatabase getEcodDatabase(String version)
    • setEcodDatabase

      public static void setEcodDatabase(String version)
      Updates the default version
      Parameters:
      version -