Emulates include directive, except that name must be tempate root relative. It's the same as include(getTemplateForInclusion(name, encoding, parse)) . But, you may want to separately call these two methods, so you can determine the source of exceptions more
(String name, String encoding, boolean parse)
| 1458 | * @see #include(Template includedTemplate) |
| 1459 | */ |
| 1460 | public void include(String name, String encoding, boolean parse) |
| 1461 | throws IOException, TemplateException |
| 1462 | { |
| 1463 | include(getTemplateForInclusion(name, encoding, parse)); |
| 1464 | } |
| 1465 | |
| 1466 | /** |
| 1467 | * Gets a template for inclusion; used with {@link #include(Template includedTemplate)}. |
no test coverage detected