The easiest way to create aURLobject is from aStringthat represents the human-readable form of the URL address. This is typically the form that another person will use for a URL. For example, the URL for the Gamelan site, which is a directory of Java resources, takes the following form:In your Java program, you can use ahttp://www.gamelan.com/Stringcontaining this text to create aURLobject:TheURL gamelan = new URL("http://www.gamelan.com/");URLobject created above represents an absolute URL. An absolute URL contains all of the information necessary to reach the resource in question. You can also createURLobjects from a relative URL address.
This is to all visitors which have a query or code finder. Here you may request for any code or some code are freely available which can be directly accessible.
Sunday, December 19, 2010
Creating a URL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment