public static boolean addStaticExtension ( String extension ) { if ( AssertUtils . isEmpty ( extension ) ) { return false ; } if ( ! extension . startsWith ( "." ) ) { extension = "." + extension ; } extension = extension . toLowerCase ( ) ; return STATIC_RESOURCE_EXTENSIONS . add ( extension ) ; }
Add the given extension to the list of static resources .