Class Ascii7BitMatcher


  • public class Ascii7BitMatcher
    extends java.lang.Object
    Fast replacement for regex based validators of simple expressions. It can take a list of legal characters for the the first character, and another list for the following. Limited to 7bit ascii.
    Author:
    baldersheim
    • Constructor Summary

      Constructors 
      Constructor Description
      Ascii7BitMatcher​(java.lang.String legal)  
      Ascii7BitMatcher​(java.lang.String legalFirstChar, java.lang.String legalChars)  
    • Constructor Detail

      • Ascii7BitMatcher

        public Ascii7BitMatcher​(java.lang.String legal)
      • Ascii7BitMatcher

        public Ascii7BitMatcher​(java.lang.String legalFirstChar,
                                java.lang.String legalChars)
    • Method Detail

      • matches

        public boolean matches​(java.lang.String s)
      • charsAndNumbers

        public static java.lang.String charsAndNumbers()