Class JarProcessorChain

  • All Implemented Interfaces:
    JarProcessor

    public class JarProcessorChain
    extends java.lang.Object
    implements JarProcessor
    • Constructor Detail

      • JarProcessorChain

        public JarProcessorChain​(JarProcessor[] chain)
    • Method Detail

      • process

        public boolean process​(EntryStruct struct)
                        throws java.io.IOException
        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. Return false for the entries which do not have been changed and there fore are not to be deleted

        Specified by:
        process in interface JarProcessor
        Parameters:
        struct -
        Returns:
        true if the entry has run the complete chain
        Throws:
        java.io.IOException