Class LineSplit

    • Field Detail

      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression to match.
      • m_Invert

        protected boolean m_Invert
        whether to invert the matching sense.
    • Constructor Detail

      • LineSplit

        public LineSplit()
    • Method Detail

      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to match the strings against.
        Parameters:
        value - the regular expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to match the strings against.
        Returns:
        the regular expression
      • regExpTipText

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

        public void setInvert​(boolean value)
        Sets whether to invert the matching sense.
        Parameters:
        value - true if inverting matching sense
      • getInvert

        public boolean getInvert()
        Returns whether to invert the matching sense.
        Returns:
        true if matching sense is inverted
      • invertTipText

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

        public Class generates​(boolean blocking)
        Returns what output type the formatter generates.
        Parameters:
        blocking - returns the type when used on blocking mode output
        Returns:
        the type
      • doFormatOutput

        protected void doFormatOutput​(ExternalCommand command,
                                      boolean stdout,
                                      boolean blocking,
                                      String output)
        Formats the output received from the command. Feeds the formatted data back into the ExternalCommand instance.
        Specified by:
        doFormatOutput in class AbstractOutputFormatter
        Parameters:
        command - the external command to feed the output back into
        stdout - whether the output was from stdout or stderr
        blocking - whether the output was received via blocking or async execution
        output - the output to format