The easiest way to create aURL
object is from aString
that 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/String
containing this text to create aURL
object:TheURL gamelan = new URL("http://www.gamelan.com/");URL
object created above represents an absolute URL. An absolute URL contains all of the information necessary to reach the resource in question. You can also createURL
objects 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