com.tonicsystems.jarjar.util
Interface JarProcessor

All Known Implementing Classes:
JarProcessorChain, JarTransformer, JarTransformerChain

public interface JarProcessor


Method Summary
 boolean process(EntryStruct struct)
          Process the entry (p.ex.
 

Method Detail

process

boolean process(EntryStruct struct)
                throws java.io.IOException
Process the entry (p.ex. rename the file)

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

Parameters:
struct -
Returns:
true if he process chain can continue after this process
Throws:
java.io.IOException


Copyright © 2010-2014 Sonatype, Inc.. All Rights Reserved.