Class HexUtils

  • public final class HexUtils
    extends Object
    Tables useful when converting byte arrays to and from strings of hexadecimal digits. Code from Ajp11, from Apache's JServ.
    Craig R. McClanahan
    • Constructor Detail

      • HexUtils

        public HexUtils()
    • Method Detail

      • getDec

        public static int getDec​(int index)
      • getHex

        public static byte getHex​(int index)
      • toHexString

        public static String toHexString​(char c)
      • toHexString

        public static String toHexString​(byte[] bytes)
      • fromHexString

        public static byte[] fromHexString​(String input)