Class TextWriter

    • Field Detail

      • m_ContentName

        protected String m_ContentName
        the name of the content (e.g., can be used in the filename).
    • Constructor Detail

      • TextWriter

        public TextWriter()
    • Method Detail

      • setContentName

        public void setContentName​(String value)
        Sets name of the content.
        Parameters:
        value - the content name
      • getContentName

        public String getContentName()
        Returns the name of the content.
        Returns:
        the content name
      • contentNameTipText

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

        public void setWriter​(AbstractTextWriter value)
        Sets whether to append to the file or not.
        Parameters:
        value - true if appending to file instead of rewriting it
      • getWriter

        public AbstractTextWriter getWriter()
        Returns whether files gets only appended or not.
        Returns:
        true if appending is turned on
      • writerTipText

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

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        java.lang.String.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message