private static void parseMimeMappings ( final MimeMappingType mimeMappingType , final WebApp webApp ) { final WebAppMimeMapping mimeMapping = new WebAppMimeMapping ( ) ; mimeMapping . setExtension ( mimeMappingType . getExtension ( ) . getValue ( ) ) ; mimeMapping . setMimeType ( mimeMappingType . getMimeType ( ) . getValue ( ) ) ; webApp . addMimeMapping ( mimeMapping ) ; }
Parses mime mappings out of web . xml .