Package com.actelion.research.chem.name
Class StructureNameResolver
- java.lang.Object
-
- com.actelion.research.chem.name.StructureNameResolver
-
public class StructureNameResolver extends java.lang.Object
Created by thomas on 7/13/17.
-
-
Constructor Summary
Constructors Constructor Description StructureNameResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IStructureNameResolver
getInstance()
static StereoMolecule
resolve(java.lang.String name)
static StereoMolecule
resolveLocal(java.lang.String name)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name, i.e.static StereoMolecule
resolveRemote(java.lang.String name)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name, i.e.static java.lang.String[]
resolveRemote(java.lang.String[] nameList)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name list, i.e.static void
setInstance(IStructureNameResolver resolver)
-
-
-
Method Detail
-
getInstance
public static IStructureNameResolver getInstance()
-
setInstance
public static void setInstance(IStructureNameResolver resolver)
-
resolve
public static StereoMolecule resolve(java.lang.String name)
-
resolveLocal
public static StereoMolecule resolveLocal(java.lang.String name)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name, i.e. to create the respective StereoMolecule that is represented by the name.- Parameters:
name
-
-
resolveRemote
public static StereoMolecule resolveRemote(java.lang.String name)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name, i.e. to create the respective StereoMolecule that is represented by the name.- Parameters:
name
-
-
resolveRemote
public static java.lang.String[] resolveRemote(java.lang.String[] nameList)
If a IStructureNameResolver instance was instantiated and given to this class, then that is asked to try to resolve the given chemical name list, i.e. to create the respective idcodes that represent the names of the list.- Parameters:
nameList
-
-
-