public abstract class AbstractTransformer extends java.lang.Object implements Transformer
| Constructor and Description |
|---|
AbstractTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(java.lang.String entryPath) |
void |
process(Uberizer uberizer,
java.io.File workDir,
java.util.TreeMap<java.lang.String,UberEntry> uberEntries)
A transformer will modify the specified uber entries to apply transformation.
|
protected abstract UberEntry |
process(Uberizer uberizer,
UberEntry entry,
java.io.File target) |
public void process(Uberizer uberizer, java.io.File workDir, java.util.TreeMap<java.lang.String,UberEntry> uberEntries) throws java.io.IOException
Transformerprocess in interface Transformeruberizer - the Uberizer instance requesting the transformation.workDir - a work directory that the transformer can store transformed files inuberEntries - a map of all the jar entries that will be included in the uber jarjava.io.IOExceptionprotected abstract boolean matches(java.lang.String entryPath)
Copyright © 2009-2015 FuseSource. All Rights Reserved.