Package com.tonicsystems.jarjar.util
Class JarTransformer
java.lang.Object
com.tonicsystems.jarjar.util.JarTransformer
- All Implemented Interfaces:
JarProcessor
- Direct Known Subclasses:
JarTransformerChain
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JarTransformer
public JarTransformer()
-
-
Method Details
-
process
Description copied from interface:JarProcessor
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. Returnfalse
for the entries which do not have been changed and there fore are not to be deleted- Specified by:
process
in interfaceJarProcessor
- Parameters:
struct
-- Returns:
true
if he process chain can continue after this process- Throws:
IOException
-