public class ChemCompConverter extends Object
| Constructor and Description |
|---|
ChemCompConverter() |
| Modifier and Type | Method and Description |
|---|---|
static ChemicalComponentDictionary |
fromCifFile(org.rcsb.cif.model.CifFile cifFile)
Convert CifFile to chem comp dictionary.
|
static ChemicalComponentDictionary |
fromInputStream(InputStream inputStream)
Convert InputStream to chem comp dictionary.
|
static ChemicalComponentDictionary |
fromPath(Path path)
Read data from a file and convert to chem comp dictionary.
|
static ChemicalComponentDictionary |
fromURL(URL url)
Get data from a URL and convert to chem comp dictionary.
|
public static ChemicalComponentDictionary fromPath(Path path) throws IOException
path - the source of information - can be gzipped or binary or text dataIOExceptionpublic static ChemicalComponentDictionary fromURL(URL url) throws IOException
url - the source of information - can be gzipped or binary or text dataIOException - thrown when reading failspublic static ChemicalComponentDictionary fromInputStream(InputStream inputStream) throws IOException
inputStream - the InputStream of information - can be gzipped or binary or text dataIOException - thrown when reading failsCifStructureConverter.fromInputStream(InputStream, FileParsingParameters)public static ChemicalComponentDictionary fromCifFile(org.rcsb.cif.model.CifFile cifFile)
cifFile - the sourceCopyright © 2000–2021 BioJava. All rights reserved.