Related resources for url class in java