ImportExport`RegisterImport


RegisterImport["format", defaultFunction]

register defaultFunction as the default function used when importing from a file of type "format".

RegisterImport["format", {"$elem_1$" :> $conditionalFunction_1$,           "$elem_2$" :> $conditionalFunction_2$, ..., defaultFunction}]

registers multiple elements ($elem_1$, ...) and their corresponding converter functions ($conditionalFunction_1$, ...) in addition to the defaultFunction.

RegisterImport["format", {"conditionalFunctionsdefaultFunction,            "$elem_3$" :> $postFunction_3$, "$elem_4$" :> $postFunction_4$, ...}]

also registers additional elements ($elem_3$, ...) whose converters ($postFunction_3$, ...) act on output from the low-level functions.

First, define the default function used to import the data.

RegisterImport is then used to register the above function to a new data format.

Conditional Importer:

ImportExport`RegisterExport
URLFetch