Java Check If Character Is Whitespace