org.apache.maven.plugins.shade.resource
Interface ResourceTransformer
- All Known Implementing Classes:
- ApacheLicenseResourceTransformer, ApacheNoticeResourceTransformer, AppendingTransformer, ComponentsXmlResourceTransformer, DontIncludeResourceTransformer, IncludeResourceTransformer, ManifestResourceTransformer, ServicesResourceTransformer, XmlAppendingTransformer
public interface ResourceTransformer
- Author:
- Jason van Zyl
canTransformResource
boolean canTransformResource(String resource)
processResource
void processResource(String resource,
InputStream is,
List<Relocator> relocators)
throws IOException
- Throws:
IOException
hasTransformedResource
boolean hasTransformedResource()
modifyOutputStream
void modifyOutputStream(JarOutputStream os)
throws IOException
- Throws:
IOException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.