Example #1
0
    def readInfoFile(self,
                     informationsdata,
                     filesrc,
                     srclanguage):
        """
                TextDBDict.readInfoFile

                Read the informations from the informations'file <src>.

                informationsdata        : InformationsData object
                filesrc :       (file descriptor)

                Return (bool)success
        """
        textdbdictinfofile = TextDBDictInfoFile(logotherasdata = self.logotherasdata,
                                                errors = self.errors)

        success = textdbdictinfofile.readFromData(informationsdata = informationsdata,
                                                  reading_position = self.reading_position,
                                                  filesrc = filesrc,
                                                  srclanguage = srclanguage)
        return success