Java urls - University of North Dakota
[Pages:34]Java URLs
All material not from online sources/textbook copyright ? Travis Desell, 2012
Online References
Working with URLs: ? urls/index.html
Overview
? What is a URL
? Creating a URL
? Parsing a URL
? Reading Directly from a URL
? Connecting to a URL
? Reading from and Writing to a URL
What is a URL?
URL stands for uniform resource locator. URLs are references to resources on the internet.
What is a URL?
URLs have two components:
!
1.The protocol identifier: (http, sftp, imap, mailto and so on)
2.The resource name: everything after the ://
!
So if the URL is , the protocol identifier is HTTP and the resource name is
Resource Names
Resource names optionally commonly consist of:
!
1. host name ()
2. filename (.../something.php)
3. port number(:4040/)
4. reference (.../something.php#reference)
Creating URLs
Creating URLs
Using the .URL class is the easiest way to create a URL:
!
URL myURL = new URL("");
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- programming with unicode documentation
- crash course on character encodings
- mini lecture on character sets and unicode
- character sets and unicode in firebird
- localization of text editor using java programming
- java urls university of north dakota
- java and unicode juneday
- encodings for obix common encodings version 1 0
- file format wikipedia the free encyclopedia
- introduction
Related searches
- university of north texas my unt
- university of north texas
- university of north texas denton
- university of north texas degrees
- university of north texas denton tx
- the university of north texas
- university of north texas employment
- north dakota certificate of existence
- university of north texas at dallas email
- university of north texas at denton
- university of north texas programs
- university of north texas library