Load template file into this group using absolute fileName.
(String fileName)
| 624 | /** Load template file into this group using absolute {@code fileName}. */ |
| 625 | |
| 626 | public CompiledST loadAbsoluteTemplateFile(String fileName) { |
| 627 | ANTLRFileStream fs; |
| 628 | try { |
| 629 | fs = new ANTLRFileStream(fileName, encoding); |
| 630 | fs.name = fileName; |
| 631 | } |
| 632 | catch (IOException ioe) { |
| 633 | // doesn't exist |
| 634 | //errMgr.IOError(null, ErrorType.NO_SUCH_TEMPLATE, ioe, fileName); |
| 635 | return null; |
| 636 | } |
| 637 | return loadTemplateFile("", fileName, fs); |
| 638 | } |
| 639 | |
| 640 | /** Load template stream into this group. {@code unqualifiedFileName} is |
| 641 | * {@code "a.st"}. The {@code prefix} is path from group root to |
nothing calls this directly
no test coverage detected