The Repository Loader example is configured with a TypeMapper component that maps file extensions to TypeMappings, with the following property configuration:
extensions=.xml,.txt,.gif,.jpg,.html,.eml typeMappings=pressReleaseXMLTypeMapping,\ pressReleaseTXTTypeMapping,\ gifImageTypeMapping,\ jpgImageTypeMapping,\ htmlArticleTypeMapping,\ userTypeMapping
The yields the following mappings:
This file extension: | Maps to this TypeMapping component: |
---|---|
| pressReleaseXMLTypeMapping |
| pressReleaseTXTTypeMapping |
| gifImageTypeMapping |
| jpgImageTypeMapping |
| htmlArticleTypeMapping |
| userTypeMapping |