⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i.txt

📁 手机QQ原代码,有喜欢的朋友可以大量的下载,我不要钱的哦
💻 TXT
📖 第 1 页 / 共 3 页
字号:
import java.io.*;
import java.util.Vector;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Form;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreNotFoundException;

public class i
{

    public static char a_char_static_fld = '\024';
    private static String a_java_lang_String_static_fld = "";
    private static String b = "";
    private static boolean a_boolean_static_fld = false;

    public i()
    {
    }

    public static void a(String s)
    {
    }

    public static void a(Exception exception)
    {
    }

    public static String a(int j)
    {
        if(j < 10)
        {
            return "0" + j;
        } else
        {
            return "" + j;
        }
    }

    public static void a(Form form)
    {
        for(int j = form.size() - 1; j >= 0; j--)
        {
            form.delete(j);
        }

    }

    public static String a(char c1)
    {
        String s = Integer.toHexString(c1);
        if(s.length() == 1)
        {
            return "%0" + s;
        } else
        {
            return "%" + s;
        }
    }

    public static String b(String s)
    {
        StringBuffer stringbuffer = new StringBuffer();
        if(s == null)
        {
            return "";
        }
        char ac[] = s.toCharArray();
        int j = ac.length;
        if(j == 0)
        {
            return "";
        }
        for(int k = 0; k < j; k++)
        {
            if(ac[k] == ' ' || ac[k] == '&' || ac[k] == ',' || ac[k] == '\r' || ac[k] == '\t' || ac[k] == '\n' || ac[k] == '%' || ac[k] == '=')
            {
                stringbuffer.append(a(ac[k]));
                continue;
            }
            if(ac[k] == a_char_static_fld)
            {
                stringbuffer.append(a(ac[k]));
                continue;
            }
            if(k > 0 && ac[k - 1] == a_char_static_fld)
            {
                stringbuffer.append(a(ac[k]));
            } else
            {
                stringbuffer.append(ac[k]);
            }
        }

        return stringbuffer.toString();
    }

    public static String a(String s)
    {
        StringBuffer stringbuffer = new StringBuffer();
        if(s == null)
        {
            return "";
        }
        char ac[] = s.toCharArray();
        int k = ac.length;
        if(k == 0)
        {
            return "";
        }
        for(int j = 0; j < k;)
        {
            if(ac[j] == '%')
            {
                String s1 = String.valueOf(ac, j + 1, 2);
                char c1;
                try
                {
                    c1 = (char)Integer.parseInt(s1, 16);
                }
                catch(Exception exception)
                {
                    c1 = ' ';
                    a("error in pkgtools-Decodecgi:wrong number format");
                    a(exception);
                }
                stringbuffer.append(c1);
                j += 3;
            } else
            {
                stringbuffer.append(ac[j]);
                j++;
            }
        }

        return stringbuffer.toString();
    }

    public static String a(String s, String s1)
    {
        String s2 = null;
        int j = 0;
        int k = 0;
        int l = 0;
        int i1 = 0;
        if(s == null || s1 == null)
        {
            return "";
        }
        s = s + "=";
        l = s.length();
        i1 = s1.length();
        if(i1 == 0)
        {
            return "";
        }
        if(l == 0)
        {
            return "";
        }
        j = s1.indexOf(s);
        if(j == -1)
        {
            return "";
        }
        k = s1.indexOf('&', j);
        if(k == -1)
        {
            s2 = s1.substring(j + l);
        } else
        {
            s2 = s1.substring(j + l, k);
        }
        return s2;
    }

    public static int a(String as[], String s)
    {
        int j = 0;
        String s1 = null;
        int k = 0;
        int l = 0;
        boolean flag = false;
        if(as == null || s == null)
        {
            return -1;
        }
        k = s.length();
        if(k >= 2560)
        {
            return -1;
        }
        j = s.indexOf(',');
        if(j == -1)
        {
            as[0] = s;
            return 1;
        }
        as[0] = s.substring(0, j);
        if(++l == as.length)
        {
            return l;
        }
        for(s1 = s.substring(j + 1); (j = s1.indexOf(',')) != -1; s1 = s1.substring(j + 1))
        {
            as[l] = s1.substring(0, j);
            if(++l == as.length)
            {
                return l;
            }
        }

        as[l] = s1;
        return ++l;
    }

    public static byte[] a(String s)
    {
        int j = s.length();
        byte abyte0[] = new byte[j << 2];
        int k = 0;
        for(int l = 0; l < j; l++)
        {
            char c1 = s.charAt(l);
            if(c1 < '\200')
            {
                abyte0[k++] = (byte)c1;
                continue;
            }
            if(c1 < '\u0800')
            {
                abyte0[k++] = (byte)(c1 >> 6 & 0x1f | 0xc0);
                abyte0[k++] = (byte)(c1 & 0x3f | 0x80);
                continue;
            }
            if(c1 < '\0')
            {
                abyte0[k++] = (byte)(c1 >> 12 & 0xf | 0xe0);
                abyte0[k++] = (byte)(c1 >> 6 & 0x3f | 0x80);
                abyte0[k++] = (byte)(c1 & 0x3f | 0x80);
                continue;
            }
            if(c1 < '\0')
            {
                abyte0[k++] = (byte)(c1 >> 18 & 7 | 0xf0);
                abyte0[k++] = (byte)(c1 >> 12 & 0x3f | 0x80);
                abyte0[k++] = (byte)(c1 >> 6 & 0x3f | 0x80);
                abyte0[k++] = (byte)(c1 & 0x3f | 0x80);
            }
        }

        byte abyte1[] = new byte[k];
        for(int i1 = 0; i1 < k; i1++)
        {
            abyte1[i1] = abyte0[i1];
        }

        return abyte1;
    }

    public static Vector a(String s, Font font, int j, char c1, int k)
    {
        Vector vector = new Vector(5);
        int l = 0;
        boolean flag = false;
        boolean flag1 = false;
        int j1 = 0;
        char ac[] = s.toCharArray();
        int k1 = ac.length;
        Object obj = null;
        boolean flag2 = false;
        for(int k2 = 0; k2 < k1; k2++)
        {
            if(ac[k2] == '\n')
            {
                l = 0;
                int l1 = k2 - j1;
                char ac1[] = new char[l1];
                System.arraycopy(ac, j1, ac1, 0, l1);
                vector.addElement(ac1);
                j1 = k2 + 1;
                continue;
            }
            char c2 = ac[k2];
            if(k > 0 && c2 == c1)
            {
                if(k2 + 1 == k1)
                {
                    break;
                }
                if(l + k > j)
                {
                    k2--;
                }
                l += k;
                k2++;
            } else
            {
                int i1 = font.charWidth(c2);
                if(l + i1 > j && c2 > ' ' && c2 < '\177')
                {
                    int l2 = k2 - 1;
                    do
                    {
                        if(l2 <= j1)
                        {
                            break;
                        }
                        if(ac[l2] <= ' ' || ac[l2] >= '\177' || l2 - 1 > 0 && ac[l2 - 1] == c1)
                        {
                            k2 = l2 + 1;
                            break;
                        }
                        l2--;
                    } while(true);
                }
                l += i1;
            }
            if(l > j)
            {
                l = 0;
                int i2 = k2 - j1;
                char ac2[] = new char[i2];
                System.arraycopy(ac, j1, ac2, 0, i2);
                vector.addElement(ac2);
                j1 = k2;
                k2--;
                continue;
            }
            if(k2 != k1 - 1)
            {
                continue;
            }
            int j2 = (k2 + 1) - j1;
            char ac3[] = new char[j2];
            System.arraycopy(ac, j1, ac3, 0, j2);
            vector.addElement(ac3);
            break;
        }

        return vector;
    }

    public static String a(String s, int j, String s1, String s2)
    {
        int k = 0;
        k = s.indexOf(s1, j);
        if(k == -1)
        {
            return s.substring(j);
        } else
        {
            int l = s1.length();
            StringBuffer stringbuffer = new StringBuffer();
            stringbuffer.append(s.substring(j, k)).append(s2).append(a(s, k + l, s1, s2));
            return stringbuffer.toString();
        }
    }

    public static void c()
    {
        RecordStore recordstore = null;
        recordstore = RecordStore.openRecordStore("QQDB", true);
        int j = recordstore.getNumRecords();
        for(int k = 0; k < 6 - j; k++)
        {
            recordstore.addRecord(null, 0, 0);
        }

        try
        {
            if(recordstore != null)
            {
                recordstore.closeRecordStore();
                recordstore = null;
            }
        }
        catch(Exception exception2)
        {
            a("close QQDB record error:0");
            a(exception2);
        }
        break MISSING_BLOCK_LABEL_132;
        Exception exception;
        exception;
        a("write QQDB record error:0");
        a(exception);
        try
        {
            if(recordstore != null)
            {
                recordstore.closeRecordStore();
                recordstore = null;
            }
        }
        catch(Exception exception3)
        {
            a("close QQDB record error:0");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -