Java app to extract address details from string