首页>代码>JSP网站开发聚宝网上商城源代码下载>/聚宝商城/10/sl/01/src/com/alipay/util/CheckURL.java
  
package com.alipay.util;
import java.net.*;
import java.io.*;


public class CheckURL {
	   /**
     * 对字符串进行MD5加密
	 * @param myUrl 
     *
     * @param url
     *
     * @return 获取url内容
     */
  public static String check(String urlvalue ) {
	 
	 
	  String inputLine="";
	  
		try{
				URL url = new URL(urlvalue);
				
				HttpURLConnection urlConnection  = (HttpURLConnection)url.openConnection();
				
				BufferedReader in  = new BufferedReader(
			            new InputStreamReader(
			            		urlConnection.getInputStream()));
			
				inputLine = in.readLine().toString();
			}catch(Exception e){
				e.printStackTrace();
			}
			//System.out.println(inputLine);  系统打印出抓取得验证结果
			
	    return inputLine;
  }


  }
最近下载更多
zj20020510  LV5 2023年9月18日
寒江雪2017  LV9 2023年8月2日
sunrandong  LV4 2023年6月9日
17693282606  LV11 2022年7月10日
shuangerduo  LV9 2022年6月26日
2998919365  LV5 2022年5月27日
georgejin  LV9 2022年5月13日
不停的奔跑  LV20 2022年3月20日
wouldbb  LV6 2021年12月18日
啊凯a  LV2 2021年12月9日
最近浏览更多
晴曛  LV6 2月20日
Liang朝伟  LV1 1月5日
wttttts  LV2 1月1日
zhangjilu  LV18 2023年12月31日
hxy19991216  LV4 2023年12月30日
小小白银110  LV1 2023年12月26日
yuanshun  LV6 2023年12月19日
komorebi123987  LV5 2023年12月9日
Henew168  LV2 2023年12月4日
李林112233  LV2 2023年12月4日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友