Package com.tonicsystems.jarjar.util
Class JarProcessorChain
- java.lang.Object
-
- com.tonicsystems.jarjar.util.JarProcessorChain
-
- All Implemented Interfaces:
JarProcessor
public class JarProcessorChain extends java.lang.Object implements JarProcessor
-
-
Constructor Summary
Constructors Constructor Description JarProcessorChain(JarProcessor[] chain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(EntryStruct struct)Process the entry (p.ex.
-
-
-
Constructor Detail
-
JarProcessorChain
public JarProcessorChain(JarProcessor[] chain)
-
-
Method Detail
-
process
public boolean process(EntryStruct struct) throws java.io.IOException
Description copied from interface:JarProcessorProcess the entry (p.ex. rename the file)Returns
trueif the processor has has changed the entry. In this case, the entry can be removed from the jar file in a future time. Returnfalsefor the entries which do not have been changed and there fore are not to be deleted- Specified by:
processin interfaceJarProcessor- Parameters:
struct-- Returns:
trueif the entry has run the complete chain- Throws:
java.io.IOException
-
-