Prefix Resource Loader Preprocessor
class PrefixResourceLoaderPreprocessor(prefix: String, resourceLoader: ResourceLoader) : TraversingPrimitivePreprocessor
Content copied to clipboard
Preprocessor for a config node. If the node is a StringNode and the value starts with the prefix, then the node value is treated as a resource location. This is loaded using the resourceLoader and returned as a StringNode.
prefix is either CLASSPATH_PREFIX or FILESYSTEM_PREFIX
Constructors
Link copied to clipboard
fun PrefixResourceLoaderPreprocessor(prefix: String, resourceLoader: ResourceLoader = ResourceLoader.SYSTEM)
Content copied to clipboard