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()
TemplateEngineManager
getContentTypes
in interface TemplateEngineManager
public TemplateEngine getTemplateEngineForContentType(String contentType)
TemplateEngineManager
getTemplateEngineForContentType
in interface TemplateEngineManager
contentType
- The content typeprotected final void logTemplateEngines()
Copyright © 2019 ninjaframework. All rights reserved.