Class STRawGroupDir


  • public class STRawGroupDir
    extends STGroupDir
    A directory of templates without headers like ST v3 had. Still allows group files in directory though like STGroupDir parent.
    • Constructor Detail

      • STRawGroupDir

        public STRawGroupDir​(String dirName)
      • STRawGroupDir

        public STRawGroupDir​(String dirName,
                             char delimiterStartChar,
                             char delimiterStopChar)
      • STRawGroupDir

        public STRawGroupDir​(String dirName,
                             String encoding)
      • STRawGroupDir

        public STRawGroupDir​(String dirName,
                             String encoding,
                             char delimiterStartChar,
                             char delimiterStopChar)
      • STRawGroupDir

        public STRawGroupDir​(URL root,
                             String encoding,
                             char delimiterStartChar,
                             char delimiterStopChar)
    • Method Detail

      • loadTemplateFile

        public CompiledST loadTemplateFile​(String prefix,
                                           String unqualifiedFileName,
                                           org.antlr.runtime.CharStream templateStream)
        Description copied from class: STGroup
        Load template stream into this group. unqualifiedFileName is "a.st". The prefix is path from group root to unqualifiedFileName like "/subdir" if file is in /subdir/a.st.
        Overrides:
        loadTemplateFile in class STGroup