public class PluginXmlResourceTransformer extends Object implements ResourceTransformer
plugin.xml
files.Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_XML_PATH |
Constructor and Description |
---|
PluginXmlResourceTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransformResource(String resource) |
boolean |
hasTransformedResource() |
void |
modifyOutputStream(JarOutputStream jos) |
void |
processResource(String resource,
InputStream is,
List<Relocator> relocators) |
public static final String PLUGIN_XML_PATH
public boolean canTransformResource(String resource)
canTransformResource
in interface ResourceTransformer
public void processResource(String resource, InputStream is, List<Relocator> relocators) throws IOException
processResource
in interface ResourceTransformer
IOException
public void modifyOutputStream(JarOutputStream jos) throws IOException
modifyOutputStream
in interface ResourceTransformer
IOException
public boolean hasTransformedResource()
hasTransformedResource
in interface ResourceTransformer
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.