Class AbstractMultiCompress

    • Field Detail

      • m_Output

        protected PlaceholderFile m_Output
        the filename of the archive output.
      • m_StripPath

        protected String m_StripPath
        the regular expression to use for stripping the path.
      • m_BufferSize

        protected int m_BufferSize
        the buffer size to use.
    • Constructor Detail

      • AbstractMultiCompress

        public AbstractMultiCompress()
    • Method Detail

      • setOutput

        public void setOutput​(PlaceholderFile value)
        Sets the archive output filename.
        Parameters:
        value - the filename
      • getOutput

        public PlaceholderFile getOutput()
        Returns the archive output filename.
        Returns:
        the filename
      • outputTipText

        public abstract String outputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setStripPath

        public void setStripPath​(String value)
        Sets the regular expression to use for stripping the path.
        Parameters:
        value - the regular expression
      • getStripPath

        public String getStripPath()
        Returns the regular expression used for stripping the path.
        Returns:
        the regular expression
      • stripPathTipText

        public String stripPathTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBufferSize

        public void setBufferSize​(int value)
        Sets the buffer size for the stream.
        Parameters:
        value - the size in bytes
      • getBufferSize

        public int getBufferSize()
        Returns the buffer size for the stream.
        Returns:
        the size in bytes
      • bufferSizeTipText

        public String bufferSizeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        the accpted input
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        the generated output
      • compress

        protected abstract String compress​(File[] inFiles)
        Adds all the files to archive.
        Parameters:
        inFiles - the files store in the
        Returns:
        null if successful, otherwise error message
      • doExecute

        protected String doExecute()
        Performs the actual transformation.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message