Class SpreadSheetCellRegExp

    • Field Detail

      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression to match.
      • m_Group

        protected String m_Group
        the group to extract.
    • Constructor Detail

      • SpreadSheetCellRegExp

        public SpreadSheetCellRegExp()
    • Method Detail

      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to apply to the cell value.
        Parameters:
        value - the regular expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to apply to the cell value.
        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.
      • setGroup

        public void setGroup​(String value)
        Sets the group to extract.
        Parameters:
        value - the group
      • getGroup

        public String getGroup()
        Returns the group to extract.
        Returns:
        the group
      • groupTipText

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

        public boolean handles​(Object obj)
        Checks whether the data type is handled.
        Specified by:
        handles in interface GroupExtractor
        Parameters:
        obj - the object to check
        Returns:
        true if handled
      • doExtractGroup

        protected String doExtractGroup​(Object obj)
        Extracts the group from the object.
        Specified by:
        doExtractGroup in class AbstractGroupExtractor
        Parameters:
        obj - the object to process
        Returns:
        the extracted group, null if failed to extract or not handled