I am trying to convert hex string "F08282AC" to char using below code
Integer.parseInt(hex, 16)
but it throws
Exception in thread "main" java.lang.NumberFormatException: For input string: "F08282AC"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
How can I convert it to char?