I need a java function that accepts a web URL (as string), and returns one of the following codes (also a string) (after receiving/parseing the reponse from the server): 00 - Received an XML page 01 - No Response (timed out or server down) 02 - Invalid URL (a file not found) 03 - Received a NON-XML Page One can determine whether or not it's an xml page by looking at the first few characters " Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Win32