/** * Returns the deprecated default template loader of FreeMarker 2.3.0. * * @deprecated The {@link TemplateLoader} should be always specified by the constructor caller. */ @Deprecated protected static TemplateLoader createLegacyDefaultTemplateLoader() { return _TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0); }
/** * Returns a template cache that will first try to load a template from * the file system relative to the current user directory (i.e. the value * of the system property <code>user.dir</code>), then from the classpath. * * @deprecated Use {@link #TemplateCache(TemplateLoader)} instead. The default loader is useless in most * applications, also it can mean a security risk. */ @Deprecated public TemplateCache() { this(_TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0)); }
/** * Returns the deprecated default template loader of FreeMarker 2.3.0. * * @deprecated The {@link TemplateLoader} should be always specified by the constructor caller. */ @Deprecated protected static TemplateLoader createLegacyDefaultTemplateLoader() { return _TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0); }
/** * Returns the deprecated default template loader of FreeMarker 2.3.0. * * @deprecated The {@link TemplateLoader} should be always specified by the constructor caller. */ @Deprecated protected static TemplateLoader createLegacyDefaultTemplateLoader() { return _TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0); }
/** * Returns a template cache that will first try to load a template from * the file system relative to the current user directory (i.e. the value * of the system property <code>user.dir</code>), then from the classpath. * * @deprecated Use {@link #TemplateCache(TemplateLoader)} instead. The default loader is useless in most * applications, also it can mean a security risk. */ @Deprecated public TemplateCache() { this(_TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0)); }
/** * Returns a template cache that will first try to load a template from * the file system relative to the current user directory (i.e. the value * of the system property <code>user.dir</code>), then from the classpath. * * @deprecated Use {@link #TemplateCache(TemplateLoader)} instead. The default loader is useless in most * applications, also it can mean a security risk. */ @Deprecated public TemplateCache() { this(_TemplateAPI.createDefaultTemplateLoader(Configuration.VERSION_2_3_0)); }