Package org.stringtemplate.v4
Class STRawGroupDir
java.lang.Object
org.stringtemplate.v4.STGroup
org.stringtemplate.v4.STGroupDir
org.stringtemplate.v4.STRawGroupDir
A directory of templates without headers like ST v3 had. Still allows group
files in directory though like
STGroupDir parent.-
Field Summary
Fields inherited from class org.stringtemplate.v4.STGroupDir
groupDirName, rootFields inherited from class org.stringtemplate.v4.STGroup
adaptors, DEFAULT_ERR_MGR, DEFAULT_KEY, defaultGroup, delimiterStartChar, delimiterStopChar, DICT_KEY, dictionaries, encoding, errMgr, GROUP_FILE_EXTENSION, imports, importsToClearOnUnload, iterateAcrossValues, NOT_FOUND_ST, renderers, TEMPLATE_FILE_EXTENSION, templates, trackCreationEvents, verbose -
Constructor Summary
ConstructorsConstructorDescriptionSTRawGroupDir(String dirName) STRawGroupDir(String dirName, char delimiterStartChar, char delimiterStopChar) STRawGroupDir(String dirName, String encoding) STRawGroupDir(String dirName, String encoding, char delimiterStartChar, char delimiterStopChar) STRawGroupDir(URL root, String encoding, char delimiterStartChar, char delimiterStopChar) -
Method Summary
Modifier and TypeMethodDescriptionloadTemplateFile(String prefix, String unqualifiedFileName, org.antlr.runtime.CharStream templateStream) Load template stream into this group.Methods inherited from class org.stringtemplate.v4.STGroupDir
getFileName, getName, getRootDirURL, importTemplates, load, loadTemplateFile, normalizeURLMethods inherited from class org.stringtemplate.v4.STGroup
compile, createSingleton, createStringTemplate, createStringTemplateInternally, createStringTemplateInternally, defineDictionary, defineRegion, defineTemplate, defineTemplate, defineTemplate, defineTemplateAlias, defineTemplateOrRegion, getAttributeRenderer, getEmbeddedInstanceOf, getImportedGroups, getInstanceOf, getListener, getMangledRegionName, getModelAdaptor, getTemplateNames, getUnMangledTemplateName, getURL, importTemplates, importTemplates, isDefined, isDictionary, isReservedCharacter, load, loadAbsoluteTemplateFile, loadGroupFile, lookupImportedTemplate, lookupTemplate, rawDefineTemplate, rawGetDictionary, rawGetTemplate, registerModelAdaptor, registerRenderer, registerRenderer, setListener, show, toString, undefineTemplate, unload
-
Constructor Details
-
STRawGroupDir
-
STRawGroupDir
-
STRawGroupDir
-
STRawGroupDir
-
STRawGroupDir
-
-
Method Details
-
loadTemplateFile
public CompiledST loadTemplateFile(String prefix, String unqualifiedFileName, org.antlr.runtime.CharStream templateStream) Description copied from class:STGroupLoad template stream into this group.unqualifiedFileNameis"a.st". Theprefixis path from group root tounqualifiedFileNamelike"/subdir"if file is in/subdir/a.st.- Overrides:
loadTemplateFilein classSTGroup
-