associations

DataLoader.readers.associations

Module to associate default readers to file extensions. The module reads an xml file to get the readers for each file extension. The readers are tried in order they appear when reading a file.

DataLoader.readers.associations.read_associations(loader, settings='defaults.xml')

Read the specified settings file to associate default readers to file extension.

Parameters:
  • loader – Loader object
  • settings – path to the XML settings file [string]
DataLoader.readers.associations.register_readers(registry_function)

Function called by the registry/loader object to register all default readers using a call back function.

Warning :this method is now obsolete
Parameters:registry_function – function to be called to register each reader

Table Of Contents

Previous topic

ascii_reader

Next topic

cansas_reader

This Page