Class ArchiveResourceMerger


  • public class ArchiveResourceMerger
    extends Object
    Class to store merging operations.
    • Constructor Detail

      • ArchiveResourceMerger

        public ArchiveResourceMerger​(String resource,
                                     MergeProcessor next)
        Constructor.
        Parameters:
        resource - name of the resource path
        next - the processor
    • Method Detail

      • addMergeItem

        public void addMergeItem​(Object mergeItem)
                          throws MergeException
        Add an item into the merge.
        Parameters:
        mergeItem - the item
        Throws:
        MergeException - if a problem
      • execute

        public void execute​(File assembleDir)
                     throws MergeException
        Execute the merge into the assembly directory.
        Parameters:
        assembleDir - the directory to save to
        Throws:
        MergeException - if a problem