InetAddress.java: Merged class documentation with classpath.

2003-05-02  Michael Koch  <konqueror@gmx.de>

	* java/net/InetAddress.java:
	Merged class documentation with classpath.
	* java/net/JarURLConnection.java:
	Explicitely import all used classes.
	* java/net/URL.java:
	Reformatting.
	* java/net/ServerSocket.java,
	java/net/Socket.java:
	New versions from classpath.

From-SVN: r66376
This commit is contained in:
Michael Koch
2003-05-02 09:27:59 +00:00
committed by Michael Koch
parent 9ab94a932c
commit 143f596a09
6 changed files with 126 additions and 18 deletions
+14 -6
View File
@@ -44,20 +44,28 @@ import java.io.IOException;
import java.io.Serializable;
import java.io.ObjectStreamException;
/**
* @author Per Bothner
* @date January 6, 1999.
*/
/*
* Written using on-line Java Platform 1.2 API Specification, as well
* as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
* (The latter turns out to have some errors ...)
* Status: Believed complete and correct.
*/
/**
* This class models an Internet address. It does not have a public
* constructor. Instead, new instances of this objects are created
* using the static methods getLocalHost(), getByName(), and
* getAllByName().
* <p>
* This class fulfills the function of the C style functions gethostname(),
* gethostbyname(), and gethostbyaddr(). It resolves Internet DNS names
* into their corresponding numeric addresses and vice versa.
*
* @author Aaron M. Renn <arenn@urbanophile.com>
* @author Per Bothner
*
* @specnote This class is not final since JK 1.4
*/
public class InetAddress implements Serializable
{
// The Serialized Form specifies that an int 'address' is saved/restored.