0

I have a requirement where before entry to a raw column, first the data needs to be validated in Java. I guess what I need is a hex validation?.

I saw some approaches in Verify if String is hexadecimal

But wanted to know if there are any libraries or (Since the above question is pretty old) options available in newer versions of Java that does this, specifically a solution which does not fail due to the size of the String, for eg, Long.parseLong can fail if it is found to be beyond the Long range

rajesh
  • 3,247
  • 5
  • 31
  • 56

0 Answers0