ydiy ydiy
关注数: 50 粉丝数: 281 发帖数: 1,088 关注贴吧数: 4
哪位帮我看看这是哪里的错? // Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.// Jad home page: http://kpdus.tripod.com/jad.html// Decompiler options: packimports(3) fieldsfirst ansi space // Source File Name: Refresh.javapackage yy;import java.net.InetAddress;import java.net.UnknownHostException;import java.util.regex.Matcher;import java.util.regex.Pattern;// Referenced classes of package yy://Functionspublic class Refresh{String tempCont;String labs[];Functions m;public Refresh(String t){tempCont = "";tempCont = t;m = new Functions();}public void regexs(){String regEx = "\\{%=[^\\{%\\}]*%\\}";Pattern p = Pattern.compile(regEx);Matcher m = p.matcher(tempCont);for (boolean isok = m.find(); isok; isok = m.find())lable(m.group());}public void lable(String lab){String lable_s = lab;lable_s = lable_s.replace("{%=", "");lable_s = lable_s.replace("%}", "");lable_s = lable_s.substring(0, lable_s.indexOf("(")) + "," + lable_s.substring(lable_s.indexOf("(") + 1, lable_s.indexOf(")"));labs = lable_s.split(",");tempCont = tempCont.replace(lab, sFunction());regexs();}public String sFunction(){String sFunction = "";InetAddress myIPaddress = null;String ip = "";try{myIPaddress = InetAddress.getLocalHost();ip = myIPaddress.getHostAddress();}catch (UnknownHostException nete){ip = "127.0.0.1";}if (ip.equals("125.91.104.133") || ip.equals("125.91.104.158") || ip.equals("61.240.131.97") || ip.equals("121.40.128.94") || ip.equals("219.148.37.94")){int i = 0;if (labs[0].equals("classDh"))i = 1;elseif (labs[0].equals("classMusic"))i = 2;elseif (labs[0].equals("musics"))i = 3;elseif (labs[0].equals("nClassList"))i = 4;elseif (labs[0].equals("nClasss"))i = 5;elseif (labs[0].equals("nClassSpecial"))i = 6;elseif (labs[0].equals("sclasss"))i = 7;elseif (labs[0].equals("specialList"))i = 8;elseif (labs[0].equals("specialListP"))i = 9;elseif (labs[0].equals("specialMusic"))i = 10;elseif (labs[0].equals("specials"))i = 11;elseif (labs[0].equals("allMusic"))i = 12;elseif (labs[0].equals("uRLDecoder"))i = 13;elseif (labs[0].equals("idMd5"))i = 14;elseif (labs[0].equals("search"))i = 15;elseif (labs[0].equals("classMusicP"))i = 16;switch (i){case 1: // '\001'sFunction = m.classDh(Integer.parseInt(labs[1]), Integer.parseInt(labs[2]), labs[3], Integer.parseInt(labs[4]));break;case 2: // '\002'sFunction = m.classMusic(Integer.parseInt(labs[1]), Integer.parseInt(labs[2]), Integer.parseInt(labs[3]), Integer.parseInt(labs[4]), Integer.parseInt(labs[5]), Integer.parseInt(labs[6]), Integer.parseInt(labs[7]), labs[8], labs[9], Integer.parseInt(labs[10]));break;case 3: // '\003'
首页 1 2 下一页