Class OptionOutput

    • Field Detail

      • m_Producer

        protected OptionProducer m_Producer
        the option producer to use.
      • m_Extension

        protected String m_Extension
        the extension to use for the files.
      • m_Encoding

        protected BaseCharset m_Encoding
        the encoding to use.
      • m_UserMode

        protected UserMode m_UserMode
        the user mode to generate the help for.
    • Constructor Detail

      • OptionOutput

        public OptionOutput()
    • Method Detail

      • setOutputDir

        public void setOutputDir​(PlaceholderDirectory value)
        Sets the output directory.
        Parameters:
        value - the directory
      • getOutputDir

        public PlaceholderDirectory getOutputDir()
        Returns the output directory.
        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.
      • setProducer

        public void setProducer​(OptionProducer value)
        Sets the producer.
        Parameters:
        value - the producer
      • getProducer

        public OptionProducer getProducer()
        Returns the producer.
        Returns:
        the producer
      • producerTipText

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

        public void setUserMode​(UserMode value)
        Sets the user mode to pass on to the producer if that supports it.
        Specified by:
        setUserMode in interface UserModeSupporter
        Parameters:
        value - the user mode
      • getUserMode

        public UserMode getUserMode()
        Returns the user mode to pass on to the producer if that supports it.
        Specified by:
        getUserMode in interface UserModeSupporter
        Returns:
        the user mode
      • userModeTipText

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

        public void setExtension​(String value)
        Sets the extension to use.
        Parameters:
        value - the extension (incl dot)
      • getExtension

        public String getExtension()
        Returns the extension to use.
        Returns:
        the extension (incl dot)
      • extensionTipText

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

        public void setEncoding​(BaseCharset value)
        Sets the encoding to use.
        Specified by:
        setEncoding in interface EncodingSupporter
        Parameters:
        value - the encoding, e.g. "UTF-8" or "UTF-16", empty string for default
      • getEncoding

        public BaseCharset getEncoding()
        Returns the encoding to use.
        Specified by:
        getEncoding in interface EncodingSupporter
        Returns:
        the encoding, e.g. "UTF-8" or "UTF-16", empty string for default
      • encodingTipText

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

        protected String doGenerate​(Class superclass,
                                    Map<String,​List<String>> listing)
        Outputs the supplied listing.
        Specified by:
        doGenerate in class AbstractListingOutput
        Parameters:
        superclass - the superclass this listing is for
        listing - the listing to output (module -> classnames)
        Returns:
        null if successful, otherwise error message