class StaticResourceServlet extends HttpServlet {

    static String getContentType(final String fileName) {
        return contentTypes.get(StringUtils.lowerCase(StringUtils
                .substringAfterLast(fileName, ".")));
    }

}