New API for match ChemFormats - instead of checking line-by-line the entire header is passed. The matcher then indicates whether it matched, where it matched and what format it is.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Required dependencies.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Updating abstract test to use new API.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Replacing mock method with new implementation.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Using new API to guess format

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Default implementation to easily adapt existing matchers.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Moving old API method from interface to abstract super-class.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Adapting existing formats to new API.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Updating PubChem Compound XML format to not match PubChem Compounds (plural).

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Allow PubChem Substance to not match PubChem Substances (plural).

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Removing matching state from MDLRXN3000 format.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Dependencies not inherited from ioformats.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>