public class TemplateEngineManagerImpl extends Object implements TemplateEngineManager
| Constructor and Description |
|---|
TemplateEngineManagerImpl(com.google.inject.Injector injector) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getContentTypes()
Returns a set of the registered template engine content types.
|
TemplateEngine |
getTemplateEngineForContentType(String contentType)
Find the template engine for the given content type
|
protected void |
logTemplateEngines() |
@Inject public TemplateEngineManagerImpl(com.google.inject.Injector injector)
public Set<String> getContentTypes()
TemplateEngineManagergetContentTypes in interface TemplateEngineManagerpublic TemplateEngine getTemplateEngineForContentType(String contentType)
TemplateEngineManagergetTemplateEngineForContentType in interface TemplateEngineManagercontentType - The content typeprotected final void logTemplateEngines()
Copyright © 2019 ninjaframework. All rights reserved.