Class ValflagValidator


public class ValflagValidator extends AbstractStringValidator<ValidationType>
This class validates a valflag.
  • Constructor Details

    • ValflagValidator

      public ValflagValidator(String valflagPatternStr)
      Constructor.
      Parameters:
      valflagPatternStr - A regex pattern representing the alternations of permission valflags for this validator instance, e.g. "G|D|T|P|V|Z" (AAVSO download format). This pattern string will be wrapped in a ^(...)$ to ensure that nothing else exists in the string, and that there is one capturing group.
  • Method Details