public interface ScriptProcessor
ScriptProcessor processes a script by minifying, obfuscating etc.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FEATURE_MINIFY
Name of the minify feature.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Name of this processor.
|
boolean |
handles(LibraryType type)
Checks if this processor can handle the give library type.
|
boolean |
process(LibraryType type,
ScriptResource source,
java.io.Writer output,
java.util.Map<java.lang.String,java.lang.String> options)
Processes the given input using the options.
|
static final java.lang.String FEATURE_MINIFY
java.lang.String getName()
boolean handles(LibraryType type)
type - the typetrue if this processor handles the typeboolean process(LibraryType type, ScriptResource source, java.io.Writer output, java.util.Map<java.lang.String,java.lang.String> options) throws java.io.IOException
type - the library type to processsource - input sourceoutput - output writeroptions - processing options.true if the sources were processedjava.io.IOException - if an I/O error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"