Package adams.tools

Class TruncateTables

    • 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

      • TruncateTables

        public TruncateTables()
    • Method Detail

      • setRegExp

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

        public BaseRegExp getRegExp()
        Returns the regular expression to match the table names 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.
      • doRun

        protected void doRun()
        Attempt to load the file and save to db. Exit java upon failure
        Specified by:
        doRun in class AbstractTool