Module org.jpo

Class CopyToZipfileHandler

java.lang.Object
org.jpo.eventbus.CopyToZipfileHandler

public class CopyToZipfileHandler extends Object
Handles the request CopyToZipfileRequest
  • Field Details

    • GENERIC_INFO

      public static final String GENERIC_INFO
      Title for Info Boxes
  • Constructor Details

    • CopyToZipfileHandler

      public CopyToZipfileHandler()
  • Method Details

    • handleEvent

      public void handleEvent(CopyToZipfileRequest request)
      Copies the pictures of the supplied nodes to the target zipfile, creating it if need be. This method does append to the zipfile by writing to a temporary file and then copying the old zip file over to this one as the API doesn't support directly appending to a zip file.
      Parameters:
      request - The request