@ConsumerType public interface ScriptTransformer extends ScriptProcessor
ScriptTransformer
is an extension to the script processor which operates on script collections.FEATURE_MINIFY
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ScriptResource> |
process(HtmlLibrary library,
java.util.Collection<ScriptResource> sources,
java.util.Map<java.lang.String,java.lang.String> options)
Processes the given input using the options.
|
getName, handles, process
@Nonnull java.util.Collection<ScriptResource> process(@Nonnull HtmlLibrary library, @Nonnull java.util.Collection<ScriptResource> sources, @Nonnull java.util.Map<java.lang.String,java.lang.String> options) throws java.io.IOException
library
- the library that is processedsources
- input sourcesoptions
- processing options.sources
if not modified.java.io.IOException
- if an I/O error occursCopyright © 2010 - 2020 Adobe. All Rights Reserved