de.modlab.smilib.fragments
Interface FragmentFactory

All Known Implementing Classes:
BuildingBlockFactory, LinkerFactory, ScaffoldFactory

public interface FragmentFactory

Creates fragments of the type specified by the class that implements this interface.


Method Summary
 Fragment createFragment(java.lang.String smiles, java.lang.String id)
          Creates a fragment.
 

Method Detail

createFragment

Fragment createFragment(java.lang.String smiles,
                        java.lang.String id)
Creates a fragment.

Parameters:
smiles - original SMILES of the fragment
id - molecule ID
Returns:
Fragment - Scaffold, Linker or BuildingBlock