public class Props extends AssetProcessor
Replace expressions like: ${foo} to the value of the property foo. Default
delimiters are: ${}
assets {
fileset {
home: ...
}
pipeline {
dev: [props]
dist: [props]
}
}
The only available option is: delims
assets{
fileset {
home: ...
}
pipeline {
dev: [props]
dist: [props]
}
props {
delims: [{{, }}]
ignoreMissing: true
}
}
Env.resolve(String)| Constructor and Description |
|---|
Props() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(MediaType type) |
String |
process(String filename,
String source,
com.typesafe.config.Config conf,
ClassLoader loader)
Method that processes the provided source and returns the processed contents, with access to the ClassLoader.
|
excludes, get, optionspublic boolean matches(MediaType type)
matches in class AssetProcessorpublic String process(String filename, String source, com.typesafe.config.Config conf, ClassLoader loader)
AssetProcessorprocess in class AssetProcessorfilename - name of the filesource - contents of the fileconf - application configurationloader - loader to use if any additional files need to be loaded from diskCopyright © 2019. All rights reserved.