java.net

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » java.net 
java.net
Provides the classes for implementing networking applications. Using the socket classes, you can communicate with any server on the Internet or implement your own Internet server. A number of classes are provided to make it convenient to use Universal Resource Locators (URLs) to retrieve data on the Internet. @since JDK1.0
Java Source File NameTypeComment
Authenticator.javaClass The class Authenticator represents an object that knows how to obtain authentication for a network connection.
BindException.javaClass Signals that an error occurred while attempting to bind a socket to a local address and port.
ConnectException.javaClass Signals that an error occurred while attempting to connect a socket to a remote address and port.
ContentHandler.javaClass The abstract class ContentHandler is the superclass of all classes that read an Object from a URLConnection.
ContentHandlerFactory.javaInterface This interface defines a factory for content handlers.
DatagramPacket.javaClass This class represents a datagram packet.
DatagramSocket.javaClass This class represents a socket for sending and receiving datagram packets.

A datagram socket is the sending or receiving point for a packet delivery service.

DatagramSocketImpl.javaClass Abstract datagram and multicast socket implementation base class.
DatagramSocketImplFactory.javaInterface This interface defines a factory for datagram socket implementations.
FileNameMap.javaInterface A simple interface which provides a mechanism to map between a file name and a MIME type string.
version:
   1.11, 02/02/00
author:
   Steven B.
HttpURLConnection.javaClass A URLConnection with support for HTTP-specific features.
Inet4Address.javaClass This class represents an Internet Protocol version 4 (IPv4) address. Defined by RFC 790: Assigned Numbers, RFC 1918: Address Allocation for Private Internets, and RFC 2365: Administratively Scoped IP Multicast

Textual representation of IP addresses

Textual representation of IPv4 address used as input to methods takes one of the following forms:
d.d.d.d
d.d.d
d.d
d

When four parts are specified, each is interpreted as a byte of data and assigned, from left to right, to the four bytes of an IPv4 address.

When a three part address is specified, the last part is interpreted as a 16-bit quantity and placed in the right most two bytes of the network address.

Inet4AddressImpl.javaClass
Inet6Address.javaClass This class represents an Internet Protocol version 6 (IPv6) address. Defined by RFC 2373: IP Version 6 Addressing Architecture.

Textual representation of IP addresses

Textual representation of IPv6 address used as input to methods takes one of the following forms:
  1. The preferred form is x:x:x:x:x:x:x:x, where the 'x's are the hexadecimal values of the eight 16-bit pieces of the address.

Inet6AddressImpl.javaClass
InetAddress.javaClass This class represents an Internet Protocol (IP) address.

An IP address is either a 32-bit or 128-bit unsigned number used by IP, a lower-level protocol on which protocols like UDP and TCP are built.

InetAddressImpl.javaInterface
InetSocketAddress.javaClass This class implements an IP Socket Address (IP address + port number) It can also be a pair (hostname + port number), in which case an attempt will be made to resolve the hostname.
JarURLConnection.javaClass A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file.

The syntax of a JAR URL is:

 jar:<url>!/{entry}
 

for example:

jar:http://www.foo.com/bar/baz.jar!/COM/foo/Quux.class

Jar URLs should be used to refer to a JAR file or entries in a JAR file.

MalformedURLException.javaClass Thrown to indicate that a malformed URL has occurred.
MulticastSocket.javaClass The multicast datagram socket class is useful for sending and receiving IP multicast packets.
NetPermission.javaClass This class is for various network permissions. A NetPermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.

The target name is the name of the network permission (see below).

NetworkInterface.javaClass This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface. It is used to identify the local interface on which a multicast group is joined.
NoRouteToHostException.javaClass Signals that an error occurred while attempting to connect a socket to a remote address and port.
PasswordAuthentication.javaClass The class PasswordAuthentication is a data holder that is used by Authenticator.
PlainDatagramSocketImpl.javaClass Concrete datagram and multicast socket implementation base class.
PlainSocketImpl.javaClass Default Socket Implementation.
PortUnreachableException.javaClass Signals that an ICMP Port Unreachable message has been received on a connected datagram.
ProtocolException.javaClass Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
ServerSocket.javaClass This class implements server sockets.
Socket.javaClass This class implements client sockets (also called just "sockets").
SocketAddress.javaClass This class represents a Socket Address with no protocol attachment.
SocketException.javaClass Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.
SocketImpl.javaClass The abstract class SocketImpl is a common superclass of all classes that actually implement sockets.
SocketImplFactory.javaInterface This interface defines a factory for socket implementations.
SocketInputStream.javaClass This stream extends FileInputStream to implement a SocketInputStream.
SocketOptions.javaInterface Interface of methods to get/set socket options.
SocketOutputStream.javaClass This stream extends FileOutputStream to implement a SocketOutputStream.
SocketPermission.javaClass This class represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" specifying ways to connect to that host.
SocketTimeoutException.javaClass Signals that a timeout has occurred on a socket read or accept.
SocksConsts.javaInterface Constants used by the SOCKS protocol implementation.
SocksSocketImpl.javaClass SOCKS (V4 & V5) TCP socket implementation (RFC 1928).
SocksSocketImplFactory.javaClass This factory creates an SocketImpl that implements the SOCKS protocol (both V5 & V4).
UnknownHostException.javaClass Thrown to indicate that the IP address of a host could not be determined.
UnknownServiceException.javaClass Thrown to indicate that an unknown service exception has occurred.
URI.javaClass Represents a Uniform Resource Identifier (URI) reference.

An instance of this class represents a URI reference as defined by RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax, amended by RFC 2732: Format for Literal IPv6 Addresses in URLs and with the minor deviations noted below.

URISyntaxException.javaClass Checked exception thrown to indicate that a string could not be parsed as a URI reference.
URL.javaClass Class URL represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
URLClassLoader.javaClass This class loader is used to load classes and resources from a search path of URLs referring to both JAR files and directories.
URLConnection.javaClass The abstract class URLConnection is the superclass of all classes that represent a communications link between the application and a URL.
URLDecoder.javaClass Utility class for HTML form decoding.
URLEncoder.javaClass Utility class for HTML form encoding.
URLStreamHandler.javaClass The abstract class URLStreamHandler is the common superclass for all stream protocol handlers.
URLStreamHandlerFactory.javaInterface This interface defines a factory for URL stream protocol handlers.
WinCEDatagramSocketImpl.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.