public abstract class AbstractFlavorProcessor extends Object implements ro.isdc.wro.model.resource.processor.ResourcePreProcessor
Modifier and Type | Field and Description |
---|---|
protected ro.isdc.wro.config.ReadOnlyContext |
context |
Constructor and Description |
---|
AbstractFlavorProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getAlias() |
String |
getEncoding() |
protected String |
getFlavor() |
protected boolean |
isEnabled(ro.isdc.wro.model.resource.Resource resource) |
void |
process(ro.isdc.wro.model.resource.Resource resource,
Reader reader,
Writer writer) |
protected abstract void |
process(ro.isdc.wro.model.resource.Resource resource,
Reader reader,
Writer writer,
String flavorName) |
@Inject protected ro.isdc.wro.config.ReadOnlyContext context
public AbstractFlavorProcessor()
public void process(ro.isdc.wro.model.resource.Resource resource, Reader reader, Writer writer) throws IOException
process
in interface ro.isdc.wro.model.resource.processor.ResourcePreProcessor
IOException
protected abstract void process(ro.isdc.wro.model.resource.Resource resource, Reader reader, Writer writer, String flavorName) throws IOException
IOException
public String getEncoding()
protected boolean isEnabled(ro.isdc.wro.model.resource.Resource resource)
Copyright © 2015 Nuxeo SA. All rights reserved.