@ Override public void init ( Application application ) { languages = application . getLanguages ( ) ; messages = application . getMessages ( ) ; router = application . getRouter ( ) ; pippoSettings = application . getPippoSettings ( ) ; fileExtension = pippoSettings . getString ( PippoConstants . SETTING_TEMPLATE_EXTENSION , getDefaultFileExtension ( ) ) ; templatePathPrefix = pippoSettings . getString ( PippoConstants . SETTING_TEMPLATE_PATH_PREFIX , TemplateEngine . DEFAULT_PATH_PREFIX ) ; }
Performs common initialization for template engines .