Interface ISimpleChemObjectReader

    • Method Detail

      • read

        <T extends IChemObject> T read​(T object)
                                throws CDKException
        Reads an IChemObject of type "object" from input. The constructor of the actual implementation may take a Reader as input to get a very flexible reader that can read from string, files, etc.
        Parameters:
        object - the type of object to return
        Returns:
        returns an object of that contains the content (or part) of the input content
        Throws:
        CDKException - it is thrown if the type of information is not available from the input