public static Template getTemplate(String templateLocation)
   {
      try
      {
         Template templateFile = getFreemarkerConfig().getTemplate(templateLocation);
         return templateFile;
      }
      catch (IOException ioEx)
      {
         throw new RuntimeException(ioEx);
      }
   }
public static Template getTemplate ( String templateLocation ) { try { Template templateFile = getFreemarkerConfig ( ) . getTemplate ( templateLocation ) ; return templateFile ; } catch ( IOException ioEx ) { throw new RuntimeException ( ioEx ) ; } }
Provides a {@link Template} representation of a Freemarker template present at a specified location.

@param templateLocation The location of the template relative to the classpath
@return The Freemarker {@link Template} instance for the specified location