Class ConstantPattern

  • java.lang.Object
  • All Implemented Interfaces:

    public class ConstantPattern
    extends java.lang.Object
    implements Pattern
    The constant pattern will always return the same string
    • Constructor Summary

      Constructor and Description
      ConstantPattern(java.lang.String patternDef)
      The constructor method of ConstantPattern.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCode()
      This method gets the constant string
      char getMaskCharacter()
      This method gets the mask character
      java.lang.String getPatternDefinition()
      This method gets the pattern constant string
      java.math.BigDecimal getPatternSpace()
      This method gets the pattern code space size
      void setPatternDefinition(java.lang.String patternDef)
      This method sets the pattern string
      boolean validatePattern()
      This method validates the constant pattern
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConstantPattern

        public ConstantPattern(java.lang.String patternDef)
        The constructor method of ConstantPattern.
        patternDef - The constant string.