public class ChemCompGroupFactory
extends java.lang.Object
Constructor | Description |
---|---|
ChemCompGroupFactory() |
Modifier and Type | Method | Description |
---|---|---|
static ChemComp |
getChemComp(java.lang.String recordName) |
|
static ChemCompProvider |
getChemCompProvider() |
|
static Group |
getGroupFromChemCompDictionary(java.lang.String recordName) |
|
static java.lang.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 static ChemComp getChemComp(java.lang.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(java.lang.String recordName)
public static java.lang.String getOneLetterCode(ChemComp cc)