Class AbstractFormatCheck

    • Constructor Detail

      • AbstractFormatCheck

        protected AbstractFormatCheck​(String defaultFormat)
        Deprecated.
        Creates a new AbstractFormatCheck instance. Defaults the compile flag to 0 (the default).
        Parameters:
        defaultFormat - default format
        Throws:
        org.apache.commons.beanutils.ConversionException - unable to parse defaultFormat
      • AbstractFormatCheck

        protected AbstractFormatCheck​(String defaultFormat,
                                      int compileFlags)
        Deprecated.
        Creates a new AbstractFormatCheck instance.
        Parameters:
        defaultFormat - default format
        compileFlags - the Pattern flags to compile the regexp with. See Pattern.compile(String, int)
        Throws:
        org.apache.commons.beanutils.ConversionException - unable to parse defaultFormat
    • Method Detail

      • setFormat

        public final void setFormat​(String format)
        Deprecated.
        Set the format to the specified regular expression.
        Parameters:
        format - a String value
        Throws:
        org.apache.commons.beanutils.ConversionException - unable to parse format
      • setCompileFlags

        public final void setCompileFlags​(int compileFlags)
        Deprecated.
        Set the compile flags for the regular expression.
        Parameters:
        compileFlags - the compile flags to use.
      • getRegexp

        public final Pattern getRegexp()
        Deprecated.
        Gets the regexp.
        Returns:
        the regexp to match against
      • getFormat

        public final String getFormat()
        Deprecated.
        Gets the regexp format.
        Returns:
        the regexp format