def load(self):
if self.format == FMT_INI:<EOL><INDENT>if self.filepaths:<EOL><INDENT>return self.load_using_ini_format_explicitly()<EOL><DEDENT>return self.load_using_ini_format_implicitly()<EOL><DEDENT>elif self.format == FMT_DELIMITED:<EOL><INDENT>if self.filepaths:<EOL><INDENT>return self.load_using_delimited_format_explicitly()<EOL><DEDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>elif self.format == FMT_XML:<EOL><INDENT>if self.filepaths:<EOL><INDENT>return self.load_using_xml_format_explicitly()<EOL><DEDENT>return self.load_using_xml_format_implicitly()<EOL><DEDENT>elif self.format == FMT_JSON:<EOL><INDENT>if self.filepaths:<EOL><INDENT>return self.load_using_json_format_explicitly()<EOL><DEDENT>return self.load_using_json_format_implicitly()<EOL><DEDENT>elif self.format == FMT_YAML:<EOL><INDENT>if self.filepaths:<EOL><INDENT>return self.load_using_yaml_format_explicitly()<EOL><DEDENT>return self.load_using_yaml_format_implicitly()<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(self.format))<EOL><DEDENT>return None<EOL>
this is a glorified switch/case