Class ContentTypes


  • @Singleton
    public class ContentTypes
    extends Object
    • Constructor Detail

      • ContentTypes

        public ContentTypes()
    • Method Detail

      • getContentType

        public String getContentType​(String templatePath)
        Parameters:
        templatePath - The path relative to the template root, uses the / path separator.
        Returns:
        the content type