文件名称:hostlookup
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2017-07-07
- 文件大小:
- 1kb
- 下载次数:
- 2次
- 提 供 者:
- 大**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序HostLookup.java,完成主机域名与IP地址的查询:
(1)如果用户输入了域名,要求程序返回对应的IP地址
(2)如果用户输入了IP地址,要求程序返回其对应的域名
(3)编写一个方法,能够有效地检测输入的字符串是否是一个IP地址,并在HostLookup.java中调用验证。(Write a program HostLookup.java, complete the host domain name and IP address query:
(1) if the user enters the domain name, the program is requested to return the corresponding IP address
(2) if the user enters the IP address, the program is requested to return its corresponding domain name
(3) write a method that can effectively detect whether an input string is an IP address and call authentication in HostLookup.java.)
(1)如果用户输入了域名,要求程序返回对应的IP地址
(2)如果用户输入了IP地址,要求程序返回其对应的域名
(3)编写一个方法,能够有效地检测输入的字符串是否是一个IP地址,并在HostLookup.java中调用验证。(Write a program HostLookup.java, complete the host domain name and IP address query:
(1) if the user enters the domain name, the program is requested to return the corresponding IP address
(2) if the user enters the IP address, the program is requested to return its corresponding domain name
(3) write a method that can effectively detect whether an input string is an IP address and call authentication in HostLookup.java.)
相关搜索: InetAddress应用程序
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hostlookup\HostLookup.java
hostlookup\Test.java
hostlookup
hostlookup\Test.java
hostlookup