org.fusesource.mvnplugins.uberize.transformer
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
Transformer
process
in interface Transformer
uberizer
- 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 jarIOException
protected abstract boolean matches(String entryPath)
protected abstract UberEntry process(Uberizer uberizer, UberEntry entry, File target) throws IOException
IOException
Copyright © 2009-2013 FuseSource. All Rights Reserved.