Class AbstractTextWriterWithFilenameGenerator

    • Field Detail

      • m_IgnoreName

        protected boolean m_IgnoreName
        whether to discard the provided name object.
    • Constructor Detail

      • AbstractTextWriterWithFilenameGenerator

        public AbstractTextWriterWithFilenameGenerator()
    • Method Detail

      • setFilenameGenerator

        public void setFilenameGenerator​(AbstractFilenameGenerator value)
        Sets the filename generator.
        Parameters:
        value - the generator
      • getFilenameGenerator

        public AbstractFilenameGenerator getFilenameGenerator()
        Returns the filename generator.
        Returns:
        the generator
      • filenameGeneratorTipText

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

        public void setIgnoreName​(boolean value)
        Sets whether to ignore the name and just rely on prefix/suffix to generate the filename.
        Parameters:
        value - if true then the name of the content gets ignored
      • getIgnoreName

        public boolean getIgnoreName()
        Returns whether the name of the content is ignored and the filename is only generated based on prefix/suffix.
        Returns:
        true if the name of the content gets ignored
      • ignoreNameTipText

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

        protected String createFilename​(String name)
        Creates the filename.
        Parameters:
        name - the name of the content
        Returns:
        the generated filename