Java Split String By Character Into Int