Class RiotChars


  • public class RiotChars
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RiotChars()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isA2Z​(int ch)
      ASCII A-Z
      static boolean isA2ZN​(int ch)
      ASCII A-Z or 0-9
      static boolean isAlpha​(int codepoint)  
      static boolean isAlphaNumeric​(int codepoint)  
      static boolean isDigit​(int ch)
      ASCII 0-9
      static boolean isHexChar​(int ch)
      Hexadecimal character
      static boolean isHexCharLC​(int ch)
      Hexadecimal character, only lower case a-f
      static boolean isHexCharUC​(int ch)
      Hexadecimal character, only upper case A-F
      static boolean isHorizontalWhitespace​(int ch)  
      static boolean isNewlineChar​(int ch)  
      static boolean isPN_LOCAL_ESC​(char ch)  
      static boolean isPNChars​(int ch)  
      static boolean isPNChars_U​(int ch)  
      static boolean isPNChars_U_N​(int ch)  
      static boolean isPNCharsBase​(int ch)  
      static boolean isWhitespace​(int ch)  
      static boolean range​(int ch, int a, int b)
      Test whether a codepoint is a given range (both ends inclusive)
      static int valHexChar​(int ch)  
      • Methods inherited from class java.lang.Object

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

      • RiotChars

        public RiotChars()
    • Method Detail

      • isAlpha

        public static boolean isAlpha​(int codepoint)
      • isAlphaNumeric

        public static boolean isAlphaNumeric​(int codepoint)
      • isA2Z

        public static boolean isA2Z​(int ch)
        ASCII A-Z
      • isA2ZN

        public static boolean isA2ZN​(int ch)
        ASCII A-Z or 0-9
      • isDigit

        public static boolean isDigit​(int ch)
        ASCII 0-9
      • isWhitespace

        public static boolean isWhitespace​(int ch)
      • isHorizontalWhitespace

        public static boolean isHorizontalWhitespace​(int ch)
      • isNewlineChar

        public static boolean isNewlineChar​(int ch)
      • isPNCharsBase

        public static boolean isPNCharsBase​(int ch)
      • isPNChars_U

        public static boolean isPNChars_U​(int ch)
      • isPNChars_U_N

        public static boolean isPNChars_U_N​(int ch)
      • isPNChars

        public static boolean isPNChars​(int ch)
      • isPN_LOCAL_ESC

        public static boolean isPN_LOCAL_ESC​(char ch)
      • isHexChar

        public static boolean isHexChar​(int ch)
        Hexadecimal character
      • isHexCharLC

        public static boolean isHexCharLC​(int ch)
        Hexadecimal character, only lower case a-f
      • isHexCharUC

        public static boolean isHexCharUC​(int ch)
        Hexadecimal character, only upper case A-F
      • valHexChar

        public static int valHexChar​(int ch)
      • range

        public static boolean range​(int ch,
                                    int a,
                                    int b)
        Test whether a codepoint is a given range (both ends inclusive)