(WebInfo wi,String damin)
| 66 | * 返回参数:IP地址 |
| 67 | * */ |
| 68 | public void getIpName(WebInfo wi,String damin){ |
| 69 | try{ |
| 70 | InetAddress inetAddress = InetAddress.getByName(damin); |
| 71 | String host_damin =inetAddress.getHostAddress(); |
| 72 | wi.domain = damin; |
| 73 | wi.ip = host_damin; |
| 74 | System.out.println(wi.ip); |
| 75 | }catch (Exception exception){ |
| 76 | |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /* |
| 81 | * 功能说明 |
nothing calls this directly
no outgoing calls
no test coverage detected