xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 3.42KB
    文件類型: .java
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-02-01
  • 語言: Java
  • 標(biāo)簽: IP??

資源簡介

獲取IP地址

資源截圖

代碼片段和文件信息

package?com.sinontech.cring.pub.util;

import?java.net.InetAddress;
import?java.net.NetworkInterface;
import?java.net.SocketException;
import?java.util.ArrayList;
import?java.util.Collection;
import?java.util.Enumeration;
import?java.util.Iterator;
import?java.util.List;

import?javax.servlet.http.HttpServletRequest;

import?org.apache.log4j.Logger;

public?class?IPUtils
{
??private?static?Logger?logger?=?Logger.getLogger(IPUtils.class);

??public?static?Collection?getAllHostInetAddress()
??{
????try
????{
??????Enumeration?networkInterfaces?=?NetworkInterface.getNetworkInterfaces();
??????Collection?addresses?=?new?ArrayList();

??????while?((networkInterfaces?!=?null)?&&?
????????(networkInterfaces.hasMoreElements()))?{
????????NetworkInterface?networkInterfac

評(píng)論

共有 條評(píng)論