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

📄 about.java

📁 SAP这个系统的一个转换器
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   About.java

package com.sap.mw.jco;

import com.sap.mw.jco.util.AboutDialog;

// Referenced classes of package com.sap.mw.jco:
//            JCO

public final class About extends AboutDialog
{

    public About()
    {
        super("SAP Java Connector (JCo)");
        try
        {
            Class.forName("com.sap.mw.jco.JCO").newInstance();
            Class.forName("com.sap.mw.jco.rfc.MiddlewareRFC").newInstance();
        }
        catch(Throwable t)
        {
            t.printStackTrace();
        }
        String middleware_version = null;
        String libjrfc_version = null;
        String libjrfc_path = null;
        String librfc_numversion = null;
        String librfc_path = null;
        String libjco_path = null;
        String sap_codepage = null;
        String rfc_trace = null;
        String cpic_trace = null;
        try
        {
            middleware_version = JCO.getMiddlewareVersion();
            libjrfc_version = JCO.getMiddlewareProperty("jco.middleware.libjrfc_version");
            libjrfc_path = JCO.getMiddlewareProperty("jco.middleware.libjrfc_path");
            librfc_numversion = JCO.getMiddlewareProperty("jco.middleware.librfc_numversion");
            librfc_path = JCO.getMiddlewareProperty("jco.middleware.librfc_path");
            sap_codepage = JCO.getMiddlewareProperty("jco.middleware.librfc_sap_codepage");
            rfc_trace = JCO.getMiddlewareProperty("jco.middleware.librfc_rfc_trace");
            cpic_trace = JCO.getMiddlewareProperty("jco.middleware.librfc_cpic_trace");
            libjco_path = getOwnFilePath();
        }
        catch(Throwable ex) { }
        finally
        {
            com.sap.mw.jco.util.AboutDialog.Section versions = new com.sap.mw.jco.util.AboutDialog.Section("Versions");
            versions.addEntry("JCo API", "2.1.5 (2005-02-15)");
            versions.addEntry("JCo middleware", middleware_version != null ? middleware_version : "Library not found");
            versions.addEntry("JCo library", libjrfc_version != null ? libjrfc_version : "Library not found");
            versions.addEntry("RFC library", librfc_numversion != null ? librfc_numversion : "Library not found");
            addSection(versions);
            versions = new com.sap.mw.jco.util.AboutDialog.Section("Paths");
            versions.addEntry("JCo classes", libjco_path != null ? libjco_path : "System-defined path");
            versions.addEntry("JCo library", libjrfc_path != null ? libjrfc_path : "Library not found");
            versions.addEntry("RFC library", librfc_path != null ? librfc_path : "System-defined path");
            addSection(versions);
            if(sap_codepage != null && sap_codepage.length() > 0 || rfc_trace != null && rfc_trace.length() > 0 || cpic_trace != null && cpic_trace.length() > 0)
            {
                versions = new com.sap.mw.jco.util.AboutDialog.Section("Environment");
                if(sap_codepage != null && sap_codepage.length() > 0)
                    versions.addEntry("SAP_CODEPAGE", sap_codepage);
                if(rfc_trace != null && rfc_trace.length() > 0)
                    versions.addEntry("RFC_TRACE", rfc_trace);
                if(cpic_trace != null && cpic_trace.length() > 0)
                    versions.addEntry("CPIC_TRACE", cpic_trace);
                addSection(versions);
            }
        }
    }

    public static void main(String argv[])
    {
        (new About()).show(argv);
    }

    public static final String VERSION = "2.1.5 (2005-02-15)";
    private static final String NOT_FOUND = "Library not found";
    private static final String SYS_PATH = "System-defined path";
}

⌨️ 快捷键说明

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