public abstract class AbstractTransformer extends Object implements Transformer
| Constructor and Description |
|---|
AbstractTransformer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
matches(String entryPath) |
void |
process(Uberizer uberizer,
File workDir,
TreeMap<String,UberEntry> uberEntries)
A transformer will modify the specified uber entries to apply transformation.
|
protected abstract UberEntry |
process(Uberizer uberizer,
UberEntry entry,
File target) |
public void process(Uberizer uberizer, File workDir, TreeMap<String,UberEntry> uberEntries) throws 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 jarIOExceptionprotected abstract boolean matches(String entryPath)
protected abstract UberEntry process(Uberizer uberizer, UberEntry entry, File target) throws IOException
IOExceptionCopyright © 2009–2017 FuseSource. All rights reserved.