The Repository Loader Example is configured with an ExtFilterTypeMapper component that maps file extensions to TypeMappings, using the following property configuration:

extensions=.xml,.txt,.gif,.jpg,.html,.eml

typeMappings=pressReleaseXMLTypeMapping,pressReleaseTXTTypeMapping,\
gifImageTypeMapping,jpgImageTypeMapping,htmlArticleTypeMapping,\
userTypeMapping

The resulting mapping is:

File Extension

TypeMapping Component

.xml

pressReleaseXMLTypeMapping

.txt

pressReleaseTXTTypeMapping

.gif

gifImageTypeMapping

.jpg

jpgImageTypeMapping

.html

htmlArticleTypeMapping

.eml

userTypeMapping

 
loading table of contents...