public class ChemCompGroupFactory extends Object
Constructor and Description |
---|
ChemCompGroupFactory() |
Modifier and Type | Method and Description |
---|---|
static ChemComp |
getChemComp(String recordName) |
static ChemCompProvider |
getChemCompProvider() |
static Group |
getGroupFromChemCompDictionary(String recordName) |
static String |
getOneLetterCode(ChemComp cc) |
static void |
setChemCompProvider(ChemCompProvider provider)
The new ChemCompProvider will be set in the static variable,
so this provider will be used from now on until it is changed
again.
|
public ChemCompGroupFactory()
public static ChemComp getChemComp(String recordName)
public static void setChemCompProvider(ChemCompProvider provider)
Changing the provider does not reset the cache, so Chemical Component definitions already downloaded from previous providers will be used. To reset the cache see {@link #getCache()).
provider
- public static ChemCompProvider getChemCompProvider()
public static Group getGroupFromChemCompDictionary(String recordName)
public static String getOneLetterCode(ChemComp cc)
Copyright © 2000–2018 BioJava. All rights reserved.