The mapping between the Java java.lang.reflect package and the corresponding .NET types is provided in Table F-9. See Chapter 14, for details of these .NET types.
Table F-9. The Java to .NET Mapping for the java.net Package
Java | .NET |
---|---|
Authenticator | System.Net.AuthenticationManager |
ContentHandler | N/A |
DatagramPacket | N/A |
DatagramSocket | System.Net.Sockets.UdpClient |
DatagramSocketImpl | N/A |
HttpURLConnection | System.Net.WebClient System.Web.WebRequest System.Web.WebResponse |
Inet4Address | System.Net.IPAddress |
Inet6Address | System.Net.IPAddress |
InetAddress | System.Net.IPAddress |
InetSocketAddress | System.Net.IPEndPoint |
JarURLConnection | N/A |
MulticastSocket | System.Net.Sockets.UdpClient |
NetPermission | System.Net.SocketPermission System.Net.WebPermission |
NetworkInterface | N/A |
PasswordAuthentication | System.Net.NetworkCredential |
ServerSocket | System.Net.Sockets.TcpListener |
Socket | System.Net.Sockets.TcpClient |
SocketAddress | System.Net.SocketAddress |
N/A | |
SocketPermission | System.Net.SocketPermission System.Net.WebPermission |
URI | System.Uri |
URL | System.Uri |
URLClassLoader | N/A |
URLConnection | System.Net.WebClient System.Web.WebRequest System.Web.WebResponse |
URLDecoder | System.Uri |
URLEncoder | System.Uri |
URLStreamHandler | N/A |