Package adams.core.io

Class ReportFieldFilenameGenerator

    • Field Detail

      • m_Field

        protected Field m_Field
        the field to obtain the filename from.
    • Constructor Detail

      • ReportFieldFilenameGenerator

        public ReportFieldFilenameGenerator()
    • Method Detail

      • setField

        public void setField​(Field value)
        Sets the field to use.
        Parameters:
        value - the field
      • getField

        public Field getField()
        Returns the field in use.
        Returns:
        the field
      • fieldTipText

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

        public boolean canHandleNullObject()
        Returns whether we actually need an object to generate the filename.
        Specified by:
        canHandleNullObject in class AbstractFilenameGenerator
        Returns:
        true if object required
      • doGenerate

        protected String doGenerate​(Object obj)
        Performs the actual generation of the filename.
        Specified by:
        doGenerate in class AbstractFilenameGenerator
        Parameters:
        obj - the object to generate the filename for
        Returns:
        the generated filename