public final class MethodsMonomerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Monomer |
generateTemporaryMonomer(String id,
String polymerType,
String naturalAnalog) |
static List<Monomer> |
getListOfHandledMonomers(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations)
method to get all HELM1 valid MonomerNotations Only on these monomers
required HELM1 functions are performed
|
static List<Monomer> |
getListOfHandledMonomersOnlyBase(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations)
method to get all HELM1 valid MonomerNotations Only on these monomers
required HELM1 functions are performed
|
static List<Monomer> |
getListOfMonomer(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations)
method to get all monomers for all MonomerNotations
|
static List<org.helm.notation2.parser.notation.polymer.MonomerNotation> |
getListOfMonomerNotation(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers)
method to get all MonomerNotations for all given polymers
|
static Monomer |
getMonomer(String type,
String id,
String info)
method to get the monomer from the database!
|
public static List<Monomer> getListOfHandledMonomers(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations) throws HELM2HandledException, ChemistryException
monomerNotations - List of MonomerNotationHELM2HandledException - if the HELM2 features were thereChemistryException - if the Chemistry Engine can not be initializedpublic static List<Monomer> getListOfHandledMonomersOnlyBase(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations) throws HELM2HandledException, NotationException, ChemistryException
monomerNotations - List of MonomerNotationHELM2HandledException - if HELM2 features are thereNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedpublic static List<org.helm.notation2.parser.notation.polymer.MonomerNotation> getListOfMonomerNotation(List<org.helm.notation2.parser.notation.polymer.PolymerNotation> polymers)
polymers - List of PolymerNotationpublic static List<Monomer> getListOfMonomer(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> monomerNotations) throws MonomerException, HELM2HandledException, org.helm.chemtoolkit.CTKException, NotationException, ChemistryException, MonomerLoadingException
monomerNotations - List of MonomerNotationMonomerException - if the Monomer is not validHELM2HandledException - if HELM2 features are thereorg.helm.chemtoolkit.CTKException - general ChemToolKit exception passed to HELMToolKitNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedMonomerLoadingException - if monomers can not be loadedpublic static Monomer getMonomer(String type, String id, String info) throws MonomerException, NotationException, ChemistryException
type - Type of the Monomerid - Id of the Monomerinfo - natural analog of the monomerMonomerException - if the desired monomer is not in the databaseNotationException - if notation is not validChemistryException - if the Chemistry Engine can not be initializedpublic static Monomer generateTemporaryMonomer(String id, String polymerType, String naturalAnalog) throws NotationException, MonomerLoadingException, ChemistryException
Copyright © 2017. All rights reserved.