private ThymeLeafTemplateImplementation getTemplateByFile ( File templateFile ) { try { return getTemplateByURL ( templateFile . toURI ( ) . toURL ( ) ) ; } catch ( MalformedURLException e ) { //NOSONAR // Ignored. } return null ; }
Gets the template object using the given file as backend .