public abstract class JarTransformer extends Object implements JarProcessor
Constructor and Description |
---|
JarTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
process(EntryStruct struct)
Process the entry (p.ex.
|
protected abstract org.objectweb.asm.ClassVisitor |
transform(org.objectweb.asm.ClassVisitor v) |
public boolean process(EntryStruct struct) throws IOException
JarProcessor
Returns true
if the processor has has changed the entry. In this case, the entry can be removed
from the jar file in a future time. Return false
for the entries which do not have been changed and
there fore are not to be deleted
process
in interface JarProcessor
true
if he process chain can continue after this processIOException
protected abstract org.objectweb.asm.ClassVisitor transform(org.objectweb.asm.ClassVisitor v)
Copyright © 2010–2014 Sonatype, Inc.. All rights reserved.