Class DirectoryExport

    • Field Detail

      • m_Prefix

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

      • DirectoryExport

        public DirectoryExport()
    • Method Detail

      • setOutputDir

        public void setOutputDir​(PlaceholderDirectory value)
        Sets the output directory for the files generated from the objects.
        Parameters:
        value - the directory
      • getOutputDir

        public PlaceholderDirectory getOutputDir()
        Returns the output directory for the files generated from the objects.
        Returns:
        the directory
      • outputDirTipText

        public String outputDirTipText()
        Returns the tip text for this property.
        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.
      • check

        protected String check​(String[] names,
                               Object[] objects)
        Checks the data.
        Overrides:
        check in class AbstractMultiObjectExport
        Parameters:
        names - the names for the objects
        objects - the objects
        Returns:
        null if successful, otherwise error message
      • 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