Class TarExport

    • Field Detail

      • m_OutputFile

        protected PlaceholderFile m_OutputFile
        the tar file to export the objects to.
      • m_Prefix

        protected String m_Prefix
        the prefix for the files.
    • Constructor Detail

      • TarExport

        public TarExport()
    • Method Detail

      • setOutputFile

        public void setOutputFile​(PlaceholderFile value)
        Sets the output tar file for the files generated from the objects.
        Specified by:
        setOutputFile in interface FileWriter
        Parameters:
        value - the directory
      • getOutputFile

        public PlaceholderFile getOutputFile()
        Returns the output tar file for the files generated from the objects.
        Specified by:
        getOutputFile in interface FileWriter
        Returns:
        the directory
      • outputFileTipText

        public String outputFileTipText()
        Returns the tip text for this property.
        Specified by:
        outputFileTipText in interface FileWriter
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPrefix

        public void setPrefix​(String value)
        Sets the optional prefix for the file names.
        Parameters:
        value - the prefix
      • getPrefix

        public String getPrefix()
        Returns the optional prefix for the file names.
        Returns:
        the prefix
      • prefixTipText

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

        protected String doExport​(String[] names,
                                  Object[] objects)
        Performs the actual export of the objects using the given names.
        Specified by:
        doExport in class AbstractMultiObjectExport
        Parameters:
        names - the names for the objects
        objects - the objects
        Returns:
        null if successful, otherwise error message