Class ZipFilesHandler

    • Field Detail

      • opZip

        protected boolean opZip
      • opCSV

        protected boolean opCSV
      • addGenerated

        protected boolean addGenerated
      • addPlugins

        protected boolean addPlugins
      • addDatabase

        protected boolean addDatabase
      • sign

        protected boolean sign
      • saveAs

        protected java.lang.String saveAs
      • fileSet

        protected java.util.TreeSet<java.io.File> fileSet
    • Constructor Detail

      • ZipFilesHandler

        public ZipFilesHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • validateZip

        protected boolean validateZip()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • performZip

        protected boolean performZip()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • setOpZip

        public void setOpZip​(java.lang.String v)
      • validateCSV

        protected boolean validateCSV()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • performCSV

        protected boolean performCSV()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • setOpCSV

        public void setOpCSV​(java.lang.String v)
      • setFiles

        public void setFiles​(java.lang.String[] v)
      • setDirs

        public void setDirs​(java.lang.String[] v)
      • setAddGenerated

        public void setAddGenerated​(boolean v)
      • setAddPlugins

        public void setAddPlugins​(boolean v)
      • setAddDatabase

        public void setAddDatabase​(boolean v)
      • setSaveAs

        public void setSaveAs​(java.lang.String v)
      • setSign

        public void setSign​(boolean v)
      • prepareFileSet

        protected void prepareFileSet()
                               throws java.io.IOException
        Throws:
        java.io.IOException