Simple class to parse phone numbers in Java