public interface ResourceTransformerFactory
ResourceTransformer
to provide additional features such as caching.StreamableResourceSource
Modifier and Type | Method and Description |
---|---|
ResourceTransformer |
createCompiler(java.lang.String contentType,
java.lang.String sourceName,
java.lang.String targetName,
ResourceTransformer transformer,
CacheMode cacheMode)
Constructs a compiler around a another ResourceTransformer implementation.
|
ResourceTransformer createCompiler(java.lang.String contentType, java.lang.String sourceName, java.lang.String targetName, ResourceTransformer transformer, CacheMode cacheMode)
sourceName
- for debugging: source name, e.g., "Less"targetName
- for debugging: target name, e.g., "CSS"transformer
- performs the actual workcacheMode
- Indicates if and how the compiled content should be cached (in development mode only)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.