There's no built-in function to convert a string of hex to a byte array, unfortunately. And using the Integer method it remarkably messy, because of the odd character length problem etc.. It's probably easier to write it yourself using Character.digit() with a little shifting and orring.
There's a class for it in the apache commons "Codec" library.