// Decompiled by DJ v2.6.6.51 Copyright 2000 Atanas Neshkov  Date: 10/2/2001 11:00:02
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   com/macromedia/generator/servlets/GenAdmin

package com.macromedia.generator.servlets;

import com.macromedia.generator.api.Buffer;
import com.macromedia.generator.api.Serial;
import com.macromedia.generator.app.CacheProperties;
import com.macromedia.generator.app.FlashEnvironment;
import com.macromedia.generator.utils.*;
import java.io.*;
import java.net.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;

// Referenced classes of package com.macromedia.generator.servlets:
//            FlashGenerator

public class GenAdmin extends HttpServlet
{

    public GenAdmin()
    {
        _fld01BF = null;
        _fld01C0 = 0;
        _fld01C1 = 0L;
        _fld01C2 = 0L;
        _fld01C3 = 0L;
        _fld01C4 = 0L;
        _fld01C5 = 0;
        _fld01C6 = 0L;
        _fld01C7 = 0L;
        _fld01C8 = 0L;
        _fld01C9 = 0L;
        _fld01CA = 0;
        _fld01CB = 0L;
        _fld01CC = 0L;
        _fld01CD = 0L;
        _fld01CE = 0L;
        _fld01CF = 0;
        _fld01D0 = 0L;
        _fld01D1 = 0L;
        _fld01D2 = 0L;
        _fld01D3 = 0L;
        _fld01D4 = 0;
        _fld01D5 = 0L;
        _fld01D6 = 0L;
        _fld01D7 = 0L;
        _fld01D8 = 0L;
        _fld01D9 = 0;
        _fld01DA = 0L;
        _fld01DB = 0L;
        _fld01DC = 0L;
        _fld01DD = 0L;
        _fld01DE = 0L;
        _fld01DF = null;
        _fld01E0 = null;
        _fld01E1 = null;
        _fld01E2 = null;
        _fld01E3 = null;
        _fld0258 = 0;
        _fld0259 = new String[32];
        _fld025A = new String[32];
        _fld025B = false;
        _fld025C = false;
        _fld025D = null;
        _fld025E = null;
        _fld025F = null;
        _fld0260 = null;
        _fld0261 = null;
        _fld0262 = null;
        _fld0263 = null;
        _fld0264 = false;
        _fld0265 = 0L;
        _fld0266 = null;
        _fld0267 = 0;
        _fld0268 = null;
        _fld0269 = null;
        _fld026A = null;
        _fld026B = null;
        _fld026C = null;
        _fld026D = null;
        _fld026E = 0;
        _fld026F = null;
    }

    private Vector _mth019E(Vector vector)
    {
        for(int i = 0; i < 25; i++)
        {
            String as[] = new String[2];
            as[0] = _fld01E6[i];
            as[1] = _mth01A6(_fld01E5[i]);
            if(_mth01E7(as[1]))
                vector.addElement(as);
        }

        return vector;
    }

    private Vector _mth019F(Vector vector)
    {
        ResourceBundle resourcebundle = ResourceBundle.getBundle("com.macromedia.generator.resources.GenAdminData", Locale.getDefault());
        String s = resourcebundle.getString("multiloginerror");
        String as[] = new String[2];
        as[0] = "adminmessage";
        as[1] = s;
        vector.addElement(as);
        return vector;
    }

    private Vector _mth01A0(Vector vector)
    {
        for(int i = 0; i < 6; i++)
        {
            String as[] = new String[2];
            as[0] = _fld01EE[i];
            as[1] = _mth01A6(as[0]);
            vector.addElement(as);
        }

        for(int j = 0; j < 42; j++)
        {
            String as1[] = new String[2];
            as1[0] = _fld0256[j];
            as1[1] = _mth01A6(as1[0]);
            vector.addElement(as1);
        }

        String as2[] = new String[2];
        as2[0] = "logonusername";
        as2[1] = _fld0261;
        vector.addElement(as2);
        String as3[] = new String[2];
        as3[0] = "serial";
        if(_fld025D != null)
            as3[1] = _fld025D.getServerNumber();
        else
            as3[1] = _mth01B0("serverNumber");
        vector.addElement(as3);
        String as4[] = new String[2];
        as4[0] = "datetime";
        Date date = new Date();
        as4[1] = date.toString();
        vector.addElement(as4);
        return vector;
    }

    private Vector _mth01A1(Vector vector)
    {
        String as[] = new String[2];
        as[0] = "adminmessage";
        as[1] = _fld026D;
        vector.addElement(as);
        return vector;
    }

    private Vector _mth01A2(Vector vector)
    {
        String as[] = new String[2];
        as[0] = "key";
        as[1] = _fld026B;
        vector.addElement(as);
        return vector;
    }

    private Vector _mth01A3(Vector vector)
    {
        for(int i = 0; i < 2; i++)
        {
            String as[] = new String[2];
            as[0] = _fld0256[i];
            as[1] = _mth01A6(as[0]);
            vector.addElement(as);
        }

        if(_fld025C)
        {
            String as1[] = new String[2];
            as1[0] = "logonusername";
            as1[1] = "Invalid logon!";
            vector.addElement(as1);
        }
        return vector;
    }

    private synchronized void _mth01A4(String s)
    {
        String s1 = _mth01C1();
        if(s1 == null)
            return;
        try
        {
            FileOutputStream fileoutputstream = new FileOutputStream(s1, true);
            PrintWriter printwriter = new PrintWriter(fileoutputstream);
            printwriter.println(s);
            printwriter.flush();
            printwriter.close();
        }
        catch(Exception _ex) { }
    }

    private void _mth01A5()
    {
        if(_fld025D != null)
            _fld01BF = _fld025D.getStartupTime();
        else
            _fld01BF = _mth01B0("startupTime");
        if(_fld025D != null)
        {
            _fld01C0 = _fld025D.getSwfCnt();
            _fld01C1 = _fld025D.getSwfAvgSize();
            _fld01C2 = _fld025D.getSwfAvgTime();
            _fld01C3 = _fld025D.getSwfMaxSize();
            _fld01C4 = _fld025D.getSwfMaxTime();
            _fld01C5 = _fld025D.getJpegCnt();
            _fld01C6 = _fld025D.getJpegAvgSize();
            _fld01C7 = _fld025D.getJpegAvgTime();
            _fld01C8 = _fld025D.getJpegMaxSize();
            _fld01C9 = _fld025D.getJpegMaxTime();
            _fld01CA = _fld025D.getPngCnt();
            _fld01CB = _fld025D.getPngAvgSize();
            _fld01CC = _fld025D.getPngAvgTime();
            _fld01CD = _fld025D.getPngMaxSize();
            _fld01CE = _fld025D.getPngMaxTime();
            _fld01CF = _fld025D.getGifCnt();
            _fld01D0 = _fld025D.getGifAvgSize();
            _fld01D1 = _fld025D.getGifAvgTime();
            _fld01D2 = _fld025D.getGifMaxSize();
            _fld01D3 = _fld025D.getGifMaxTime();
            _fld01D4 = _fld025D.getXGifCnt();
            _fld01D5 = _fld025D.getXGifAvgSize();
            _fld01D6 = _fld025D.getXGifAvgTime();
            _fld01D7 = _fld025D.getXGifMaxSize();
            _fld01D8 = _fld025D.getXGifMaxTime();
            _fld01D9 = _fld025D.getQtmCnt();
            _fld01DA = _fld025D.getQtmAvgSize();
            _fld01DB = _fld025D.getQtmAvgTime();
            _fld01DC = _fld025D.getQtmMaxSize();
            _fld01DD = _fld025D.getQtmMaxTime();
            _fld01DE = _fld025D.getThreadCount();
        } else
        {
            _fld01C0 = _mth01B5("swfCnt");
            _fld01C1 = _mth01B6("swfAvgSz");
            _fld01C2 = _mth01B6("swfAvgTime");
            _fld01C3 = _mth01B6("swfMaxSz");
            _fld01C4 = _mth01B6("swfMaxTime");
            _fld01C5 = _mth01B5("jpgCnt");
            _fld01C6 = _mth01B6("jpgAvgSz");
            _fld01C7 = _mth01B6("jpgAvgTime");
            _fld01C8 = _mth01B6("jpgMaxSz");
            _fld01C9 = _mth01B6("jpgMaxTime");
            _fld01CA = _mth01B5("pngCnt");
            _fld01CB = _mth01B6("pngAvgSz");
            _fld01CC = _mth01B6("pngAvgTime");
            _fld01CD = _mth01B6("pngMaxSz");
            _fld01CE = _mth01B6("pngMaxTime");
            _fld01CF = _mth01B5("gifCnt");
            _fld01D0 = _mth01B6("gifAvgSz");
            _fld01D1 = _mth01B6("gifAvgTime");
            _fld01D2 = _mth01B6("gifMaxSz");
            _fld01D3 = _mth01B6("gifMaxTime");
            _fld01D9 = _mth01B5("qtmCnt");
            _fld01DA = _mth01B6("qtmAvgSz");
            _fld01DB = _mth01B6("qtmAvgTime");
            _fld01DC = _mth01B6("qtmMaxSz");
            _fld01DD = _mth01B6("qtmMaxTime");
            _fld01DE = _mth01B6("threadCount");
        }
        ResourceBundle resourcebundle = ResourceBundle.getBundle("com.macromedia.generator.resources.ResourceData", Locale.getDefault());
        _fld01E0 = resourcebundle.getString("Version");
        _fld01E1 = resourcebundle.getString("Build");
        _fld01E2 = resourcebundle.getString("BuildDate");
        _fld01E3 = resourcebundle.getString("Copyright");
    }

    private String _mth01A6(String s)
    {
        if(s.equalsIgnoreCase("startuptime"))
            return _fld01BF;
        if(s.equalsIgnoreCase("swfCnt"))
            return Integer.toString(_fld01C0);
        if(s.equalsIgnoreCase("swfAvgSize"))
            return Long.toString(_fld01C1);
        if(s.equalsIgnoreCase("swfAvgTime"))
            return Long.toString(_fld01C2);
        if(s.equalsIgnoreCase("swfMaxSize"))
            return Long.toString(_fld01C3);
        if(s.equalsIgnoreCase("swfMaxTime"))
            return Long.toString(_fld01C4);
        if(s.equalsIgnoreCase("jpegCnt"))
            return Integer.toString(_fld01C5);
        if(s.equalsIgnoreCase("jpegAvgSize"))
            return Long.toString(_fld01C6);
        if(s.equalsIgnoreCase("jpegAvgTime"))
            return Long.toString(_fld01C7);
        if(s.equalsIgnoreCase("jpegMaxSize"))
            return Long.toString(_fld01C8);
        if(s.equalsIgnoreCase("jpegMaxTime"))
            return Long.toString(_fld01C9);
        if(s.equalsIgnoreCase("pngCnt"))
            return Integer.toString(_fld01CA);
        if(s.equalsIgnoreCase("pngAvgSize"))
            return Long.toString(_fld01CB);
        if(s.equalsIgnoreCase("pngAvgTime"))
            return Long.toString(_fld01CC);
        if(s.equalsIgnoreCase("pngMaxSize"))
            return Long.toString(_fld01CD);
        if(s.equalsIgnoreCase("pngMaxTime"))
            return Long.toString(_fld01CE);
        if(s.equalsIgnoreCase("gifCnt"))
            return Integer.toString(_fld01CF);
        if(s.equalsIgnoreCase("gifAvgSize"))
            return Long.toString(_fld01D0);
        if(s.equalsIgnoreCase("gifAvgTime"))
            return Long.toString(_fld01D1);
        if(s.equalsIgnoreCase("gifMaxSize"))
            return Long.toString(_fld01D2);
        if(s.equalsIgnoreCase("gifMaxTime"))
            return Long.toString(_fld01D3);
        if(s.equalsIgnoreCase("xgifCnt"))
            return Integer.toString(_fld01D4);
        if(s.equalsIgnoreCase("xgifAvgSize"))
            return Long.toString(_fld01D5);
        if(s.equalsIgnoreCase("xgifAvgTime"))
            return Long.toString(_fld01D6);
        if(s.equalsIgnoreCase("xgifMaxSize"))
            return Long.toString(_fld01D7);
        if(s.equalsIgnoreCase("xgifMaxTime"))
            return Long.toString(_fld01D8);
        if(s.equalsIgnoreCase("qtmCnt"))
            return Integer.toString(_fld01D9);
        if(s.equalsIgnoreCase("qtmAvgSize"))
            return Long.toString(_fld01DA);
        if(s.equalsIgnoreCase("qtmAvgTime"))
            return Long.toString(_fld01DB);
        if(s.equalsIgnoreCase("qtmMaxSize"))
            return Long.toString(_fld01DC);
        if(s.equalsIgnoreCase("qtmMaxTime"))
            return Long.toString(_fld01DD);
        if(s.equalsIgnoreCase("threadCount"))
            return Long.toString(_fld01DE);
        if(s.equalsIgnoreCase("serverName"))
            return _fld0266;
        if(s.equalsIgnoreCase("serverPort"))
            return Integer.toString(_fld0267);
        if(s.equalsIgnoreCase("installPath"))
            return _fld0260;
        if(s.equalsIgnoreCase("genVersion"))
            return _fld01E0;
        if(s.equalsIgnoreCase("genBuild"))
            return _fld01E1;
        if(s.equalsIgnoreCase("genBuildDate"))
            return _fld01E2;
        if(s.equalsIgnoreCase("generatorCopyright"))
            return _fld01E3;
        if(s.equalsIgnoreCase("os"))
            return _fld0268;
        if(s.equalsIgnoreCase("javaVersion"))
            return _fld0269;
        if(s.equalsIgnoreCase("serverInfo"))
            return _fld026A;
        if(s.equalsIgnoreCase("currentUser"))
            return _fld0261;
        else
            return _mth01B9(s);
    }

    private void _mth01A7(String s, HttpServletResponse httpservletresponse)
    {
        try
        {
            try
            {
                URL url = new URL(s);
                URLConnection urlconnection = url.openConnection();
                InputStream inputstream = urlconnection.getInputStream();
                long l = System.currentTimeMillis();
                httpservletresponse.setContentType("application/x-shockwave-flash");
                httpservletresponse.setDateHeader("Expires", 0L);
                httpservletresponse.setDateHeader("Last-modified", l);
                javax.servlet.ServletOutputStream servletoutputstream = httpservletresponse.getOutputStream();
                int i = 0;
                for(int j = inputstream.read(); j != -1; j = inputstream.read())
                {
                    i++;
                    byte byte0 = (byte)j;
                    servletoutputstream.write(byte0);
                }

                httpservletresponse.setContentLength(i);
                inputstream.close();
                servletoutputstream.close();
            }
            catch(Exception _ex)
            {
                httpservletresponse.sendError(500);
            }
        }
        catch(IOException _ex) { }
    }

    private void _mth01A8(HttpServletRequest httpservletrequest)
    {
        if(_fld025E != null)
        {
            return;
        } else
        {
            String s = httpservletrequest.getServerName();
            String s1 = Integer.toString(httpservletrequest.getServerPort());
            _fld025E = _fld0263 + "://" + s + ":" + s1 + "/ttttttt.swt?";
            _fld025F = _fld0263 + "://" + s + ":" + s1 + "/";
            return;
        }
    }

    private void _mth01A9()
    {
        _fld026D = null;
    }

    public void destroy()
    {
    }

    public synchronized void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
        throws ServletException
    {
        try
        {
            String s = null;
            if(!_mth01E5(httpservletrequest))
            {
                s = "callDenyAccess";
            } else
            {
                if(_mth01DD())
                {
                    _mth01DA("timedouterror", true);
                    s = "callMessage";
                    _mth01C0();
                    return;
                }
                if(_fld025D == null && _fld025E == null)
                    _mth01A8(httpservletrequest);
                s = _mth01C3(httpservletrequest, httpservletresponse);
                if(s == null)
                {
                    _mth01E8(httpservletrequest, httpservletresponse);
                    return;
                }
                if(s.equals("callReturn"))
                {
                    _mth01D7(httpservletresponse, "varsLoaded=yes");
                    return;
                }
                if(_mth01B7() != null)
                {
                    s = "callMessage";
                } else
                {
                    if(s.equals("callHelp"))
                    {
                        _mth01AB(httpservletrequest, httpservletresponse, s);
                        return;
                    }
                    if(s.equals("callStatistics"))
                    {
                        _mth01AC(httpservletrequest, httpservletresponse, s);
                        return;
                    }
                    _mth01A5();
                }
            }
            _mth01AA(httpservletrequest, httpservletresponse, s);
        }
        catch(ServletException servletexception)
        {
            _mth01A4("Admin Exception: " + servletexception);
            throw servletexception;
        }
        catch(Exception exception)
        {
            _mth01A4("Admin Exception: " + exception);
        }
    }

    private void _mth01AA(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, String s)
        throws ServletException, IOException
    {
        if(_fld025D == null)
        {
            _mth01AD(httpservletrequest, httpservletresponse, s);
            return;
        }
        _fld0266 = httpservletrequest.getServerName();
        _fld0267 = httpservletrequest.getServerPort();
        File file = _mth01BA(s);
        if(file != null)
        {
            Buffer buffer = null;
            Object obj = null;
            Vector vector = _mth01B8(s);
            if(buffer == null)
            {
                Serial serial = _mth01B1();
                FlashEnvironment flashenvironment;
                if(_fld025D != null)
                    flashenvironment = new FlashEnvironment(_fld025D.getLoggingLevel(), false, FlashGenerator.serial, _fld025D.getExternalFontPath(), FlashGenerator.cacheMgr);
                else
                    flashenvironment = new FlashEnvironment(_mth01B5("loggingLevel"), false, serial, _mth01B0("extFontPath"), null);
                try
                {
                    buffer = flashenvironment.processTemplate(file, vector);
                }
                catch(Exception exception)
                {
                    if(buffer != null)
                    {
                        buffer.release();
                        buffer = null;
                    }
                    httpservletresponse.sendError(500);
                    _mth01A4("Something bad happened: " + exception);
                }
                _mth01CE(serial);
            }
            if(buffer != null)
                try
                {
                    long l = System.currentTimeMillis();
                    httpservletresponse.setContentType("application/x-shockwave-flash");
                    int i = buffer.getSize();
                    httpservletresponse.setContentLength(i);
                    httpservletresponse.setDateHeader("Expires", 0L);
                    httpservletresponse.setDateHeader("Last-modified", l);
                    int j = buffer.getBufferCount();
                    javax.servlet.ServletOutputStream servletoutputstream = httpservletresponse.getOutputStream();
                    for(int k = 0; k < j; k++)
                    {
                        byte abyte0[] = buffer.getBuffer(k);
                        if(abyte0 != null)
                            servletoutputstream.write(abyte0);
                    }

                    servletoutputstream.close();
                    buffer.release();
                }
                catch(Exception _ex)
                {
                    if(buffer != null)
                        buffer.release();
                    httpservletresponse.sendError(500);
                }
        } else
        {
            _mth01A4("AdminService.swt is missing!");
            httpservletresponse.sendError(503);
        }
    }

    private void _mth01AB(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, String s)
        throws ServletException, IOException
    {
        String s1 = "0";
        for(Enumeration enumeration = httpservletrequest.getParameterNames(); enumeration.hasMoreElements();)
        {
            String s2 = (String)enumeration.nextElement();
            if(s2.equalsIgnoreCase("panel"))
            {
                String as[] = httpservletrequest.getParameterValues(s2);
                s1 = as[0];
                break;
            }
        }

        if(httpservletresponse == null)
            return;
        if(_fld0262 != null && _fld0262.equalsIgnoreCase("japanese"))
            httpservletresponse.setContentType("text/html; charset=Shift_JIS");
        else
            httpservletresponse.setContentType("text/html");
        PrintWriter printwriter = httpservletresponse.getWriter();
        if(printwriter == null)
            return;
        long l = System.currentTimeMillis();
        String s3 = httpservletrequest.getServerName();
        String s4 = Integer.toString(httpservletrequest.getServerPort());
        String s5 = System.getProperty("file.separator");
        String s6 = _fld0260 + s5 + "admin" + s5 + "GenAdminHelp" + s1 + ".html";
        File file = new File(s6);
        if(file == null || !file.exists())
        {
            httpservletresponse.sendError(500);
            return;
        }
        FileReader filereader = new FileReader(file);
        if(filereader == null)
            return;
        int i = (int)file.length();
        char ac[] = new char[i];
        int j = filereader.read(ac);
        if(ac.length == 0)
        {
            return;
        } else
        {
            filereader.close();
            ac = _mth01D9(s3, s4, ac);
            printwriter.write(ac);
            printwriter.close();
            return;
        }
    }

    private synchronized void _mth01AC(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, String s)
        throws ServletException, IOException
    {
        int i = _fld026E;
        _fld026E = 0;
        if(httpservletresponse == null)
            return;
        if(_fld0262 != null && _fld0262.equalsIgnoreCase("japanese"))
            httpservletresponse.setContentType("text/html; charset=Shift_JIS");
        else
            httpservletresponse.setContentType("text/html");
        PrintWriter printwriter = httpservletresponse.getWriter();
        if(printwriter == null)
            return;
        long l = System.currentTimeMillis();
        String s1 = httpservletrequest.getServerName();
        String s2 = Integer.toString(httpservletrequest.getServerPort());
        String s3 = System.getProperty("file.separator");
        String s4 = _fld0260 + s3 + "admin" + s3 + "GenAdminReport.html";
        File file = new File(s4);
        if(file == null || !file.exists())
        {
            httpservletresponse.sendError(500);
            return;
        }
        FileReader filereader = new FileReader(file);
        if(filereader == null)
            return;
        int j = (int)file.length();
        char ac[] = new char[j];
        int k = filereader.read(ac);
        if(ac.length == 0)
            return;
        filereader.close();
        ac = _mth01D9(s1, s2, ac);
        String s5 = _fld0260 + s3 + "admin" + s3 + "GenStats.log";
        GenReport genreport = new GenReport();
        genreport.setDaysBack(i);
        long l1 = 0x5265c00L;
        String s6 = System.getProperty("com.macromedia.generator.reportday");
        if(s6 != null)
        {
            _mth01A4("reportDay: " + s6);
            genreport.setTimeFrame(s6);
            if(s6.equalsIgnoreCase("sec"))
                l1 = 1000L;
            else
            if(s6.equalsIgnoreCase("min"))
                l1 = 60000L;
            else
            if(s6.equalsIgnoreCase("hour"))
                l1 = 0x36ee80L;
        }
        String s7 = System.getProperty("com.macromedia.generator.reportdebug");
        boolean flag = s7 == null ? false : s7.equalsIgnoreCase("true");
        genreport.setReportLog(flag);
        boolean flag1 = genreport.loadStats(s5);
        if(!flag1)
        {
            httpservletresponse.sendError(500);
            return;
        }
        Calendar calendar = Calendar.getInstance(Locale.getDefault());
        String s8 = calendar.getTime().toString();
        ac = _mth01D0("__date__", s8, ac);
        ac = _mth01D0("__gendate__", genreport.resultsCurrent.startupTime, ac);
        String s9 = s8;
        if(i != 0)
            s9 = s9 + " minus " + i + " days";
        ac = _mth01D0("__modate__", s9, ac);
        if(genreport.resultsCurrent != null)
        {
            String s10 = Long.toString(genreport.resultsCurrent.swfCnt);
            ac = _mth01D0("__swfCnt__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.gifCnt);
            ac = _mth01D0("__gifCnt__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.jpgCnt);
            ac = _mth01D0("__jpgCnt__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.pngCnt);
            ac = _mth01D0("__pngCnt__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.qtmCnt);
            ac = _mth01D0("__qtmCnt__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getSwfAvgSize());
            ac = _mth01D0("__swfASz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getGifAvgSize());
            ac = _mth01D0("__gifASz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getJpgAvgSize());
            ac = _mth01D0("__jpgASz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getPngAvgSize());
            ac = _mth01D0("__pngASz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getQtmAvgSize());
            ac = _mth01D0("__qtmASz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.swfMaxSize);
            ac = _mth01D0("__swfMSz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.gifMaxSize);
            ac = _mth01D0("__gifMSz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.jpgMaxSize);
            ac = _mth01D0("__jpgMSz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.pngMaxSize);
            ac = _mth01D0("__pngMSz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.qtmMaxSize);
            ac = _mth01D0("__qtmMSz__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getSwfAvgTime());
            ac = _mth01D0("__swfATm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getGifAvgTime());
            ac = _mth01D0("__gifATm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getJpgAvgTime());
            ac = _mth01D0("__jpgATm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getPngAvgTime());
            ac = _mth01D0("__pngATm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.getQtmAvgTime());
            ac = _mth01D0("__qtmATm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.swfMaxTime);
            ac = _mth01D0("__swfMTm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.gifMaxTime);
            ac = _mth01D0("__gifMTm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.jpgMaxTime);
            ac = _mth01D0("__jpgMTm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.pngMaxTime);
            ac = _mth01D0("__pngMTm__", s10, ac);
            s10 = Long.toString(genreport.resultsCurrent.qtmMaxTime);
            ac = _mth01D0("__qtmMTm__", s10, ac);
        }
        for(int i1 = 0; i1 < 3; i1++)
        {
            long l2 = -1L;
            long l3 = -1L;
            String s11 = null;
            GenReportFrame genreportframe = null;
            switch(i1)
            {
            case 0: // '\0'
                genreportframe = genreport.results30;
                s11 = "_30";
                l2 = l1;
                l3 = 30L;
                break;

            case 1: // '\001'
                genreportframe = genreport.results60;
                s11 = "_60";
                l2 = l1;
                l3 = 30L;
                break;

            case 2: // '\002'
                genreportframe = genreport.results90;
                s11 = "_90";
                l2 = l1;
                l3 = 30L;
                break;
            }
            if(genreportframe != null)
            {
                long l4 = genreportframe.swfCnt + genreportframe.gifCnt + genreportframe.jpgCnt + genreportframe.pngCnt + genreportframe.qtmCnt;
                long l5 = (l4 + (l3 >> 1)) / l3;
                String s12 = Long.toString(l5);
                ac = _mth01D0(s11 + "AReq_", s12, ac);
                s12 = Long.toString(genreportframe.maxConcurReq);
                ac = _mth01D0(s11 + "PReq_", s12, ac);
                long l6 = (genreportframe.statTime + (l2 >> 1)) / l2;
                if(l6 > 30L)
                    l6 = 30L;
                s12 = Long.toString(l6);
                ac = _mth01D0(s11 + "Up_", s12, ac);
                long l7 = genreportframe.swfTotTime + genreportframe.gifTotTime + genreportframe.jpgTotTime + genreportframe.pngTotTime + genreportframe.qtmTotTime;
                long l8 = l4 <= 0L ? 0L : (l7 + (l4 >> 1)) / l4;
                s12 = Long.toString(l8);
                ac = _mth01D0(s11 + "ARes_", s12, ac);
            }
        }

        printwriter.write(ac);
        printwriter.close();
    }

    private void _mth01AD(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, String s)
        throws ServletException, IOException
    {
        _fld0266 = httpservletrequest.getServerName();
        _fld0267 = httpservletrequest.getServerPort();
        String s1 = _fld025F + _mth01BB(s);
        Vector vector = _mth01B8(s);
        Hashtable hashtable = new Hashtable();
        int i = 0;
        for(Enumeration enumeration = vector.elements(); enumeration.hasMoreElements();)
        {
            String as[] = (String[])enumeration.nextElement();
            if(as != null && as.length == 2)
            {
                String s2 = as[0];
                String s3 = as[1];
                if(s2 != null && s2.length() > 0 && s3 != null && s3.length() > 0 && hashtable.get(s2) == null)
                {
                    s3 = _mth01CF(s3);
                    if(i == 0)
                        s1 = s1 + '?';
                    else
                        s1 = s1 + '&';
                    i++;
                    s1 = s1 + s2 + "=" + s3;
                    hashtable.put(s2, s3);
                }
            }
        }

        _mth01A7(s1, httpservletresponse);
    }

    private boolean _mth01AE()
    {
        boolean flag = true;
        CacheProperties cacheproperties = null;
        if(_fld025D != null)
            cacheproperties = _fld025D.getCacheProperties(true);
        if(_fld01DF == null)
            return false;
        for(int i = 0; i < 25; i++)
        {
            String s = "com.macromedia.generator." + _fld01E5[i];
            String s1 = null;
            if(cacheproperties != null)
                s1 = cacheproperties.toString(s);
            else
                s1 = _mth01AF(_fld01E5[i]);
            if(_mth01E7(s1))
                _mth01DB(s, s1);
        }

        return flag;
    }

    private String _mth01AF(String s)
    {
        String s1 = _mth01CD(_fld025E + "getCacheProp=" + s);
        return s1;
    }

    private String _mth01B0(String s)
    {
        String s1 = null;
        s1 = _mth01CD(_fld025E + "getProp=" + s);
        return s1;
    }

    private Serial _mth01B1()
    {
        Serial serial = null;
        if(_fld025D != null)
        {
            serial = FlashGenerator.serial;
        } else
        {
            serial = new Serial();
            serial.release();
            int i = _mth01B5("serial");
            serial.setPeer(i);
        }
        return serial;
    }

    private String _mth01B2(String s)
    {
        String s1 = _mth01CD(_fld025E + "getSysProp=" + s);
        return s1;
    }

    private Hashtable _mth01B3(HttpServletRequest httpservletrequest)
    {
        String s = httpservletrequest.getQueryString();
        if(s != null)
        {
            Hashtable hashtable = HttpUtils.parseQueryString(s);
            if(hashtable != null)
                return hashtable;
        }
        return null;
    }

    private boolean _mth01B4()
    {
        boolean flag = true;
        if(_fld01DF == null)
            return false;
        int i = -1;
        if(_fld025D != null)
            i = _fld025D.getMaxThreads();
        else
            i = _mth01B5("maxhreads");
        _mth01DB("maxThreads", Integer.toString(i));
        if(_fld025D != null)
            i = _fld025D.getTimeout();
        else
            i = _mth01B5("timeout");
        _mth01DB("requestTimeout", Integer.toString(i));
        if(_fld025D != null)
            i = _fld025D.getLoggingLevel();
        else
            i = _mth01B5("loggingLevel");
        _mth01DB("loggingLevel", Integer.toString(i));
        String s = null;
        if(_fld025D != null)
            s = _fld025D.getExternalFontPath();
        else
            s = _mth01B0("extFontPath");
        _mth01DB("fontpath", s);
        if(_fld025D != null)
            s = _fld025D.getSystemProperty("com.macromedia.generator.defaultSymbolFile");
        else
            s = _mth01B2("com.macromedia.generator.defaultSymbolFile");
        _mth01DB("defaultSymbolFile", s);
        if(_fld025D != null)
            s = _fld025D.getSystemProperty("com.macromedia.generator.userclasspath");
        else
            s = _mth01B2("com.macromedia.generator.userclasspath");
        _mth01DB("userclasspath", s);
        flag = _mth01AE();
        return flag;
    }

    private int _mth01B5(String s)
    {
        int i = -1;
        String s1 = _mth01CD(_fld025E + "getProp=" + s);
        if(s1 != null)
            try
            {
                i = Integer.parseInt(s1);
            }
            catch(NumberFormatException numberformatexception)
            {
                _mth01A4("getIntFGProperty NumberFormatException: " + numberformatexception);
                i = -1;
            }
        return i;
    }

    public long getLastModified(HttpServletRequest httpservletrequest)
    {
        return System.currentTimeMillis();
    }

    private long _mth01B6(String s)
    {
        long l = -1L;
        String s1 = _mth01CD(_fld025E + "getProp=" + s);
        if(s1 != null)
            try
            {
                l = Long.parseLong(s1);
            }
            catch(NumberFormatException _ex)
            {
                l = -1L;
            }
        return l;
    }

    private String _mth01B7()
    {
        return _fld026D;
    }

    private Vector _mth01B8(String s)
    {
        Vector vector = new Vector(32, 32);
        vector = _mth01A3(vector);
        if(s != null && s.equals("callMessage"))
            vector = _mth01A1(vector);
        else
        if(s != null && s.equals("callDenyAccess"))
            vector = _mth019F(vector);
        else
        if(_fld025B)
        {
            vector = _mth01A2(vector);
            vector = _mth01A0(vector);
            vector = _mth019E(vector);
        }
        return vector;
    }

    private String _mth01B9(String s)
    {
        if(_fld01DF == null)
            return null;
        if(!s.startsWith("com.macromedia.generator."))
            s = "com.macromedia.generator." + s;
        for(Enumeration enumeration = _fld01DF.keys(); enumeration.hasMoreElements();)
        {
            String s1 = (String)enumeration.nextElement();
            if(s1.equalsIgnoreCase(s))
            {
                String s2 = (String)_fld01DF.get(s1);
                s2 = s2.trim();
                if(s2 != null && _mth01E7(s2))
                    return s2;
            }
        }

        return null;
    }

    private File _mth01BA(String s)
    {
        String s1 = System.getProperty("file.separator");
        String s2 = null;
        if(s != null && (s.equals("callMessage") || s.equals("callDenyAccess")))
            s2 = _fld0260 + s1 + "admin" + s1 + "AdminMessage.swt";
        else
        if(_fld025B)
            s2 = _fld0260 + s1 + "admin" + s1 + "AdminService.swt";
        else
            s2 = _fld0260 + s1 + "admin" + s1 + "AdminLogon.swt";
        File file = new File(s2);
        if(!file.exists())
        {
            _mth01A4(s2 + " not found!");
            return null;
        } else
        {
            return file;
        }
    }

    private String _mth01BB(String s)
    {
        String s1 = null;
        if(s != null && (s.equals("callMessage") || s.equals("callDenyAccess")))
            s1 = "__Admin__Message__.swt";
        else
        if(_fld025B)
            s1 = "__Admin__Service__.swt";
        else
            s1 = "__Admin__Logon__.swt";
        return s1;
    }

    public void init(ServletConfig servletconfig)
        throws ServletException
    {
        try
        {
            super.init(servletconfig);
            _fld0258 = 0;
            for(Enumeration enumeration = getInitParameterNames(); enumeration.hasMoreElements() && _fld0258 < 32; _fld0258++)
            {
                _fld025A[_fld0258] = enumeration.nextElement().toString();
                _fld0259[_fld0258] = getInitParameter(_fld025A[_fld0258]);
            }

            try
            {
                _fld025D = (FlashGenerator)getServletContext().getServlet("FlashGenerator");
            }
            catch(Exception exception1)
            {
                _mth01CC("noGenerator");
                System.out.println("GenAdmin Init ServletException: " + exception1);
            }
            String s = servletconfig.getInitParameter("forceHTTP");
            if(s != null && s.equalsIgnoreCase("true"))
                _fld025D = null;
            if(_fld025D == null)
                _mth01A4("FlashGenerator Admin Servlet: Http arguments");
            _fld0262 = System.getProperty("com.macromedia.generator.locale");
            _fld0260 = System.getProperty("com.macromedia.generator.installpath");
            if(_fld0260 == null)
            {
                _fld0260 = servletconfig.getInitParameter("InstallPath");
                if(_fld0260 == null)
                    System.err.println("Genadmin: Unable to locate InstallPath for GenAdmin Servlet.");
            }
            _fld0263 = System.getProperty("com.macromedia.generator.AdminHTMLtype");
            if(_fld0263 == null)
            {
                _fld0263 = "http";
                _fld0264 = false;
            } else
            {
                _fld0264 = true;
            }
            _fld025B = false;
            _fld0268 = System.getProperty("os.name") + " " + System.getProperty("os.arch");
            _fld0269 = System.getProperty("java.version");
            _fld026A = getServletContext().getServerInfo();
            if(_fld025D == null && _fld026F == null)
                _fld026F = new Random(System.currentTimeMillis());
            _mth01A4("Admin servlet initialized");
        }
        catch(Exception exception)
        {
            System.out.println("GenAdmin Init Exception: " + exception);
        }
    }

    private void _mth01BC(String s, String s1, PrintWriter printwriter)
        throws IOException
    {
        if(s == null || s1 == null)
        {
            return;
        } else
        {
            printwriter.print("<HTML>");
            printwriter.print("<HEAD><TITLE>Generator Admin</TITLE></HEAD>");
            printwriter.print("<BODY>");
            printwriter.print("<embed src=\"" + _fld0263 + "://");
            printwriter.print(s);
            printwriter.print(":");
            printwriter.print(s1);
            printwriter.print("/servlet/GenAdmin?adminCall=callGenerate\" type=\"application/x-shockwave-flash\" width=100% height=100%></embed>");
            printwriter.print("</BODY>");
            printwriter.print("</HTML>");
            return;
        }
    }

    private boolean _mth01BD()
    {
        if(_fld01DF != null)
            return true;
        String s = null;
        if(_fld025D != null)
            s = _fld025D.getPropertiesPath();
        else
            s = _mth01B0("propPath");
        if(s == null || s.equals(""))
            return false;
        _fld01DF = new Properties();
        FileInputStream fileinputstream = null;
        try
        {
            fileinputstream = new FileInputStream(s);
            if(fileinputstream != null)
            {
                try
                {
                    _fld01DF.load(fileinputstream);
                }
                catch(Exception exception)
                {
                    fileinputstream.close();
                    _mth01A4("Exception loading generator.properties: " + exception);
                    return false;
                }
                fileinputstream.close();
            } else
            {
                _mth01A4("loadPropertyTables: inputStream = null");
                return false;
            }
        }
        catch(Exception _ex)
        {
            if(fileinputstream != null)
                try
                {
                    fileinputstream.close();
                }
                catch(IOException _ex2)
                {
                    return false;
                }
            _mth01CC("noProptable");
        }
        return true;
    }

    private boolean _mth01BE()
    {
        boolean flag = _mth01BD();
        if(!flag)
        {
            return false;
        } else
        {
            boolean flag1 = _mth01B4();
            return flag1;
        }
    }

    private void _mth01BF(String s, HttpServletRequest httpservletrequest)
    {
        _fld025B = true;
        _fld0261 = s;
        _fld026C = httpservletrequest.getRemoteAddr();
        _mth01DC(false);
    }

    private void _mth01C0()
    {
        _fld025B = false;
        _fld0261 = null;
        _fld026C = null;
        _mth01DC(true);
    }

    private String _mth01C1()
    {
        String s = null;
        if(_fld0260 == null)
        {
            s = "GenAdmin.log";
        } else
        {
            String s1 = System.getProperty("file.separator");
            s = _fld0260 + s1 + "logs" + s1 + "GenAdmin.log";
        }
        return s;
    }

    private boolean _mth01C2(Hashtable hashtable)
    {
        boolean flag = true;
        int i = 0;
        int j = 24;
        if(hashtable != null)
        {
            String as[] = (String[])hashtable.get("cachePage");
            if(as != null)
            {
                String s = as[0];
                try
                {
                    int l = Integer.parseInt(s);
                    switch(l)
                    {
                    case 1: // '\001'
                        i = 0;
                        j = (i + 4) - 1;
                        break;

                    case 2: // '\002'
                        i = 4;
                        j = (i + 5) - 1;
                        break;

                    case 3: // '\003'
                        i = 9;
                        j = (i + 5) - 1;
                        break;

                    case 4: // '\004'
                        i = 14;
                        j = (i + 6) - 1;
                        break;

                    case 5: // '\005'
                        i = 20;
                        j = (i + 5) - 1;
                        break;

                    default:
                        _mth01A4("Invalid cache page: " + s);
                        break;
                    }
                }
                catch(NumberFormatException _ex)
                {
                    _mth01A4("Invalid cache page: " + s);
                }
            }
        }
        for(int k = i; k <= j; k++)
        {
            String as1[] = (String[])hashtable.get(_fld01E6[k]);
            if(as1 != null && _mth01E7(as1[0]))
                _mth01DB(_fld01E5[k], as1[0]);
            else
                _mth01DB(_fld01E5[k], "");
        }

        return flag;
    }

    private String _mth01C3(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
    {
        if(httpservletrequest == null || httpservletresponse == null)
            return null;
        Hashtable hashtable = _mth01B3(httpservletrequest);
        if(hashtable == null)
            return null;
        String as[] = (String[])hashtable.get("adminCall");
        if(as == null)
            return null;
        String s = as[0];
        if(s != null)
        {
            if(s.equals("callLogin"))
            {
                _mth01C5(hashtable, httpservletrequest);
                return "callReturn";
            }
            if(s.equals("callLogout"))
            {
                _mth01C0();
                return "callReturn";
            }
            if(s.equals("callUpdateProps"))
            {
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                }
                if(_mth01C8(hashtable))
                    _mth01DA("changessuccessful", false);
                else
                    _mth01DA("changesunsuccessful", true);
                return "callMessage";
            }
            if(s.equals("callUpdateCache"))
            {
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                }
                if(_mth01C7(hashtable))
                    _mth01DA("changessuccessful", false);
                else
                    _mth01DA("changesunsuccessful", true);
                return "callMessage";
            }
            if(s.equals("callUpdateUser"))
            {
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                }
                if(_mth01CA(hashtable))
                    _mth01DA("changessuccessful", false);
                else
                    _mth01DA("changesunsuccessful", true);
                return "callMessage";
            }
            if(s.equals("callUpdateStats"))
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                } else
                {
                    _mth01C9(hashtable);
                    return s;
                }
            if(s.equals("callLogHits"))
            {
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                }
                if(_fld025D != null)
                    _fld025D.logHitCounts();
                else
                    _mth01D5("logHitCounts");
                _mth01DA("logsuccessful", false);
                return "callMessage";
            }
            if(s.equals("callFlush"))
            {
                if(!_mth01E3(hashtable, httpservletrequest))
                {
                    _mth01DA("verifyloginerror", true);
                    return null;
                }
                if(_fld025D != null)
                    _fld025D.flushCaches();
                else
                    _mth01D5("flushCaches");
                _mth01DA("flushsuccessful", false);
                return "callMessage";
            }
            if(s.equals("callGenerate"))
                return s;
            if(s.equals("callHelp"))
                return "callHelp";
            if(s.equals("callMessageOk"))
            {
                _mth01A9();
                return "callReturn";
            }
            if(s.equals("callStatistics"))
            {
                String as1[] = (String[])hashtable.get("reportnoflush");
                boolean flag = true;
                if(as1 != null)
                {
                    String s1 = as1[0];
                    if(s1.equals("true"))
                        flag = false;
                    _mth01A4("Report flush: " + flag);
                }
                if(flag)
                    if(_fld025D != null)
                        _fld025D.logStats();
                    else
                        _mth01D5("logstats");
                as1 = (String[])hashtable.get("daysBack");
                if(as1 != null)
                    try
                    {
                        _fld026E = Integer.parseInt(as1[0]);
                    }
                    catch(NumberFormatException _ex) { }
                return "callStatistics";
            }
        }
        return null;
    }

    private boolean _mth01C4(Hashtable hashtable)
    {
        boolean flag = true;
        for(int i = 0; i < 6; i++)
        {
            String as[] = (String[])hashtable.get(_fld01EE[i]);
            if(as != null && _mth01E7(as[0]))
                _mth01DB(_fld01EE[i], as[0]);
            else
                _mth01DB(_fld01EE[i], "");
        }

        return flag;
    }

    private void _mth01C5(Hashtable hashtable, HttpServletRequest httpservletrequest)
    {
        _mth01BE();
        _mth01C6(hashtable, httpservletrequest);
    }

    private boolean _mth01C6(Hashtable hashtable, HttpServletRequest httpservletrequest)
    {
        boolean flag = false;
        try
        {
            String as[] = (String[])hashtable.get("logonusername");
            if(as != null)
            {
                _fld025C = true;
                String as1[] = (String[])hashtable.get("logonpassword");
                if(as1 != null)
                {
                    flag = _mth01E1(as[0], as1[0]);
                    if(flag)
                    {
                        _mth01BF(as[0], httpservletrequest);
                        _fld025C = false;
                    }
                }
            }
            if(_fld025C)
            {
                String s = null;
                if(as == null)
                    s = "";
                else
                    s = as[0];
                _mth01A4("Invalid login attempt: " + s);
            }
        }
        catch(Exception exception)
        {
            _mth01A4("parseLogonFields: " + exception);
        }
        return flag;
    }

    private boolean _mth01C7(Hashtable hashtable)
    {
        boolean flag = _mth01BE();
        if(!flag)
            return false;
        flag = _mth01C2(hashtable);
        if(!flag)
        {
            return false;
        } else
        {
            boolean flag1 = _mth01D2();
            return flag1;
        }
    }

    private boolean _mth01C8(Hashtable hashtable)
    {
        boolean flag = _mth01BE();
        if(!flag)
            return false;
        flag = _mth01C4(hashtable);
        if(!flag)
        {
            return false;
        } else
        {
            boolean flag1 = _mth01D2();
            return flag1;
        }
    }

    private void _mth01C9(Hashtable hashtable)
    {
        _mth01A5();
    }

    private boolean _mth01CA(Hashtable hashtable)
    {
        boolean flag = _mth01BE();
        if(!flag)
            return false;
        if(_mth01CB(hashtable))
            flag = _mth01D2();
        return flag;
    }

    private boolean _mth01CB(Hashtable hashtable)
    {
        boolean flag = true;
        String as[] = (String[])hashtable.get("adminUserName");
        if(as != null && _mth01E7(as[0]))
        {
            String as1[] = (String[])hashtable.get("adminPassword");
            String as2[] = (String[])hashtable.get("adminCheck");
            if(as1 != null && _mth01E7(as1[0]) && as2 != null && _mth01E7(as2[0]) && as1[0].equals(as2[0]))
            {
                _mth01DB("adminUserName", as[0]);
                _mth01DB("adminPassword", as1[0]);
            } else
            {
                _mth01DA("badpassworderror", true);
                return false;
            }
        } else
        {
            _mth01DA("badusernameerror", true);
            return false;
        }
        return flag;
    }

    private void _mth01CC(String s)
    {
        ResourceBundle resourcebundle = ResourceBundle.getBundle("com.macromedia.generator.resources.GenAdminData", Locale.getDefault());
        String s1 = resourcebundle.getString(s);
        _mth01A4(s1);
    }

    private String _mth01CD(String s)
    {
        String s1 = "";
        try
        {
            String s2 = Integer.toString(_fld026F.nextInt());
            Properties properties = System.getProperties();
            properties.put("com.macromedia.generator.reportkey", s2);
            String s3 = s + "&" + "com.macromedia.generator.reportkey" + "=" + s2;
            URL url = new URL(s3);
            URLConnection urlconnection = url.openConnection();
            InputStream inputstream = urlconnection.getInputStream();
            for(int i = inputstream.read(); i != -1; i = inputstream.read())
            {
                char c = (char)i;
                s1 = s1 + c;
            }

            inputstream.close();
            if(s1.length() == 0)
                s1 = null;
        }
        catch(MalformedURLException _ex) { }
        catch(IOException _ex) { }
        return s1;
    }

    private void _mth01CE(Serial serial)
    {
        if(_fld025D == null)
            serial.setPeer(0);
    }

    private String _mth01CF(String s)
    {
        for(int i = s.lastIndexOf(32); i != -1; i = s.lastIndexOf(32))
        {
            String s1 = s.substring(0, i);
            String s2 = s.substring(i + 1);
            s = s1 + "%20" + s2;
        }

        return s;
    }

    private char[] _mth01D0(String s, String s1, char ac[])
    {
        String s2 = new String(ac);
        for(int i = s2.indexOf(s); i != -1; i = s2.indexOf(s, i + 1))
            s2 = s2.substring(0, i) + s1 + s2.substring(i + s.length(), s2.length());

        ac = new char[s2.length()];
        s2.getChars(0, s2.length(), ac, 0);
        return ac;
    }

    private boolean _mth01D1()
    {
        String s = null;
        if(_fld025D != null)
            s = _fld025D.getPropertiesPath();
        else
            s = _mth01B0("propPath");
        FileOutputStream fileoutputstream = null;
        try
        {
            fileoutputstream = new FileOutputStream(s);
            if(fileoutputstream != null)
                try
                {
                    _mth01E4();
                    if(!GenUtils.isJava2())
                        _fld01DF.save(fileoutputstream, "Generator Properties");
                    else
                        _fld01DF.store(fileoutputstream, "Generator Properties");
                    fileoutputstream.close();
                }
                catch(Exception _ex)
                {
                    fileoutputstream.close();
                    _mth01A4("Error writing properties file");
                    return false;
                }
        }
        catch(Exception _ex)
        {
            if(fileoutputstream != null)
                try
                {
                    fileoutputstream.close();
                }
                catch(IOException _ex2)
                {
                    return false;
                }
            _mth01CC("noWriteProps");
            return false;
        }
        return true;
    }

    private boolean _mth01D2()
    {
        boolean flag = true;
        flag = _mth01D8();
        flag = _mth01D1();
        return flag;
    }

    private void _mth01D3(String s)
    {
        try
        {
            String s1 = Integer.toString(_fld026F.nextInt());
            Properties properties = System.getProperties();
            properties.put("com.macromedia.generator.reportkey", s1);
            String s2 = s + "&" + "com.macromedia.generator.reportkey" + "=" + s1;
            URL url = new URL(s2);
            URLConnection urlconnection = url.openConnection();
            InputStream inputstream;
            for(inputstream = urlconnection.getInputStream(); inputstream.read() != -1;);
            inputstream.close();
        }
        catch(MalformedURLException _ex) { }
        catch(IOException _ex) { }
    }

    private void _mth01D4(String s, String s1)
    {
        _mth01D3(_fld025E + "setCacheProp=" + s + "&value=" + s1);
    }

    private void _mth01D5(String s)
    {
        _mth01D3(_fld025E + "setProp=" + s);
    }

    private void _mth01D5(String s, String s1)
    {
        String s2 = _fld025E + "setProp=" + s + "&value=" + s1;
        _mth01D3(s2);
    }

    private void _mth01D6(String s, String s1)
    {
        _mth01D3(_fld025E + "setSysProp=" + s + "&value=" + s1);
    }

    private void _mth01D7(HttpServletResponse httpservletresponse, String s)
        throws IOException
    {
        if(httpservletresponse == null || s == null)
            return;
        httpservletresponse.setContentType("application/x-www-urlformencoded");
        httpservletresponse.setContentLength(s.length());
        PrintWriter printwriter = httpservletresponse.getWriter();
        if(printwriter != null)
            printwriter.print(s);
    }

    private boolean _mth01D8()
    {
        if(_fld025D != null)
            _fld025D.disableRequests(true);
        else
            _mth01D5("disableReqs", "true");
        try
        {
            int i = 0;
            for(int j = _fld025D == null ? _mth01B5("curJobCount") : _fld025D.getCurrentJobCount(); j > 0 && i < 100; j = _fld025D == null ? _mth01B5("curJobCount") : _fld025D.getCurrentJobCount())
                try
                {
                    wait(100L);
                }
                catch(Exception exception1)
                {
                    if(_fld025D != null)
                        _fld025D.disableRequests(false);
                    else
                        _mth01D5("disableReqs", "false");
                    _mth01A4("Exception: " + exception1);
                }

            if(i >= 100)
            {
                _mth01CC("unableToShutDown");
                if(_fld025D != null)
                    _fld025D.disableRequests(false);
                else
                    _mth01D5("disableReqs", "false");
                return false;
            }
            _mth01E0();
            _mth01DE();
        }
        catch(Exception exception)
        {
            if(_fld025D != null)
                _fld025D.disableRequests(false);
            else
                _mth01D5("disableReqs", "false");
            _mth01A4("SetGeneratorValues: " + exception);
            return false;
        }
        if(_fld025D != null)
            _fld025D.disableRequests(false);
        else
            _mth01D5("disableReqs", "false");
        return true;
    }

    private char[] _mth01D9(String s, String s1, char ac[])
    {
        String s2 = "_HOST_";
        String s3 = new String(ac);
        for(int i = s3.indexOf(s2); i != -1; i = s3.indexOf(s2, i + 1))
            s3 = s3.substring(0, i) + s + ":" + s1 + s3.substring(i + s2.length(), s3.length());

        ac = new char[s3.length()];
        s3.getChars(0, s3.length(), ac, 0);
        return ac;
    }

    private void _mth01DA(String s, boolean flag)
    {
        if(_mth01B7() != null)
            return;
        ResourceBundle resourcebundle = ResourceBundle.getBundle("com.macromedia.generator.resources.GenAdminData", Locale.getDefault());
        _fld026D = "";
        if(flag)
            if(resourcebundle != null)
                _fld026D = resourcebundle.getString("adminerror") + '\r';
            else
                _fld026D = "Error:\r";
        if(resourcebundle != null)
            _fld026D += resourcebundle.getString(s);
        else
            _fld026D += s;
    }

    private boolean _mth01DB(String s, String s1)
    {
        if(_fld01DF == null)
            return false;
        if(s1 == null || s1.equalsIgnoreCase("null"))
            return false;
        if(!s.startsWith("com.macromedia.generator."))
            s = "com.macromedia.generator." + s;
        if(s1.equals(""))
        {
            _mth01DF(s, s1);
            _fld01DF.remove(s);
            return false;
        }
        for(Enumeration enumeration = _fld01DF.keys(); enumeration.hasMoreElements();)
        {
            String s2 = (String)enumeration.nextElement();
            if(s2.equalsIgnoreCase(s))
            {
                _fld01DF.put(s2, s1);
                return true;
            }
        }

        _fld01DF.put(s, s1);
        return false;
    }

    private void _mth01DC(boolean flag)
    {
        if(!flag)
        {
            long l = System.currentTimeMillis();
            _fld026B = Long.toString(l);
        } else
        {
            _fld026B = null;
        }
    }

    private boolean _mth01DD()
    {
        boolean flag = false;
        long l = System.currentTimeMillis();
        long l1 = l - _fld0265;
        if(_fld025B && l1 > 0x1b7740L)
        {
            _mth01A4("Session timed out.");
            flag = true;
        }
        _fld0265 = l;
        return flag;
    }

    private boolean _mth01DE()
    {
        if(_fld01DF == null)
            return false;
        for(Enumeration enumeration = _fld01DF.keys(); enumeration.hasMoreElements();)
        {
            String s = (String)enumeration.nextElement();
            String s1 = (String)_fld01DF.get(s);
            s1 = s1.trim();
            if(_fld025D != null)
                _fld025D.setCacheProperty(s, s1);
            else
                _mth01D4(s, s1);
        }

        if(_fld025D != null)
            _fld025D.updateCacheProperties();
        else
            _mth01D4("all", null);
        return true;
    }

    private boolean _mth01DF(String s, String s1)
    {
        if(!s.startsWith("com.macromedia.generator."))
            s = "com.macromedia.generator." + s;
        if(s.equalsIgnoreCase("com.macromedia.generator.maxThreads"))
        {
            if(_mth01E7(s1))
                try
                {
                    int i = Integer.valueOf(s1).intValue();
                    if(_fld025D != null)
                        _fld025D.setMaxThreads(i);
                    else
                        _mth01D5("maxhreads", Integer.toString(i));
                }
                catch(NumberFormatException _ex)
                {
                    return false;
                }
            else
            if(_fld025D != null)
                _fld025D.setMaxThreads(20);
            else
                _mth01D5("maxhreads", "20");
        } else
        if(s.equalsIgnoreCase("com.macromedia.generator.requestTimeout"))
        {
            if(_mth01E7(s1))
                try
                {
                    int j = Integer.valueOf(s1).intValue();
                    if(j < 0)
                        j = 0;
                    if(_fld025D != null)
                        _fld025D.setTimeout(j);
                    else
                        _mth01D5("timeout", Integer.toString(j));
                }
                catch(NumberFormatException _ex)
                {
                    return false;
                }
            else
            if(_fld025D != null)
                _fld025D.setTimeout(1000);
            else
                _mth01D5("timeout", "1000");
        } else
        if(s.equalsIgnoreCase("com.macromedia.generator.loggingLevel"))
        {
            if(_mth01E7(s1))
                try
                {
                    int k = Integer.valueOf(s1).intValue();
                    if(k < 0)
                        k = 0;
                    if(k > 3)
                        k = 3;
                    if(_fld025D != null)
                        _fld025D.setLoggingLevel(k);
                    else
                        _mth01D5("loggingLevel", s1);
                }
                catch(NumberFormatException _ex)
                {
                    return false;
                }
        } else
        if(s.equalsIgnoreCase("com.macromedia.generator.fontpath"))
        {
            if(_mth01E7(s1))
            {
                if(_fld025D != null)
                    _fld025D.setExternalFontPath(s1);
                else
                    _mth01D5("extFontPath", s1);
            } else
            if(_fld025D != null)
                _fld025D.setExternalFontPath(null);
            else
                _mth01D5("extFontPath", null);
        } else
        if(s.equalsIgnoreCase("com.macromedia.generator.defaultSymbolFile"))
        {
            if(_mth01E7(s1))
            {
                if(_fld025D != null)
                    _fld025D.setSystemProperty("com.macromedia.generator.defaultSymbolFile", s1);
                else
                    _mth01D6("com.macromedia.generator.defaultSymbolFile", s1);
            } else
            if(_fld025D != null)
                _fld025D.setSystemProperty("com.macromedia.generator.defaultSymbolFile", null);
            else
                _mth01D6("com.macromedia.generator.defaultSymbolFile", null);
        } else
        if(s.equalsIgnoreCase("com.macromedia.generator.userclasspath"))
            if(_mth01E7(s1))
            {
                if(_fld025D != null)
                    _fld025D.setSystemProperty("com.macromedia.generator.userclasspath", s1);
                else
                    _mth01D6("com.macromedia.generator.userclasspath", s1);
            } else
            if(_fld025D != null)
                _fld025D.setSystemProperty("com.macromedia.generator.userclasspath", null);
            else
                _mth01D6("com.macromedia.generator.userclasspath", null);
        return true;
    }

    private boolean _mth01E0()
    {
        if(_fld01DF == null)
            return false;
        String s;
        String s1;
        for(Enumeration enumeration = _fld01DF.keys(); enumeration.hasMoreElements(); _mth01DF(s, s1))
        {
            s = (String)enumeration.nextElement();
            s1 = (String)_fld01DF.get(s);
            s1 = s1.trim();
        }

        return true;
    }

    private boolean _mth01E1(String s, String s1)
    {
        if(s == null || s1 == null)
            return false;
        s1 = s1.trim();
        _mth01BD();
        String s2 = _mth01B9("adminUserName");
        if(s2 == null && !s.equalsIgnoreCase("admin"))
            return false;
        if(s2 != null && !s2.equalsIgnoreCase(s))
            return false;
        String s3 = _mth01B9("adminPassword");
        if(s3 == null)
        {
            String s4 = null;
            if(_fld025D != null)
                s4 = _fld025D.getServerNumber();
            else
                s4 = _mth01B0("serverNumber");
            if(s4 != null)
            {
                if(s4.startsWith("x") || s4.startsWith("X"))
                    return false;
                if(s1.equalsIgnoreCase(s4))
                    return true;
            }
            return false;
        }
        return s3.equalsIgnoreCase(s1);
    }

    private boolean _mth01E2(HttpServletRequest httpservletrequest)
    {
        if(_fld025B)
        {
            String s = httpservletrequest.getServerName();
            String s1 = httpservletrequest.getRemoteHost();
            String s2 = httpservletrequest.getRemoteAddr();
            if(s2 == null || _fld026C == null)
                return false;
            return _fld026C.equals(s2) || s1.equals("localhost");
        } else
        {
            return true;
        }
    }

    private boolean _mth01E3(Hashtable hashtable, HttpServletRequest httpservletrequest)
    {
        if(!_mth01E2(httpservletrequest))
            return false;
        String as[] = (String[])hashtable.get("key");
        return as != null && _mth01E6(as[0]) && _fld025B;
    }

    private void _mth01E4()
    {
        String s = (String)_fld01DF.get("java.protocol.handler.pkgs");
        if(!_mth01E7(s))
            _mth01DB("java.protocol.handler.pkgs", "com.macromedia.generator.protocol");
    }

    private boolean _mth01E5(HttpServletRequest httpservletrequest)
    {
        return _mth01E2(httpservletrequest);
    }

    private boolean _mth01E6(String s)
    {
        return s != null && _fld026B != null && _fld026B.equals(s);
    }

    private boolean _mth01E7(String s)
    {
        return s != null && !s.equals("") && !s.equalsIgnoreCase("null");
    }

    private void _mth01E8(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
        throws IOException
    {
        if(httpservletresponse == null)
            return;
        if(_fld0262 != null && _fld0262.equalsIgnoreCase("japanese"))
            httpservletresponse.setContentType("text/html; charset=Shift_JIS");
        else
            httpservletresponse.setContentType("text/html");
        PrintWriter printwriter = httpservletresponse.getWriter();
        if(printwriter == null)
            return;
        long l = System.currentTimeMillis();
        String s = httpservletrequest.getServerName();
        String s1 = Integer.toString(httpservletrequest.getServerPort());
        String s2 = System.getProperty("file.separator");
        String s3;
        if(!_fld0264)
            s3 = _fld0260 + s2 + "admin" + s2 + "GenAdmin.html";
        else
            s3 = _fld0260 + s2 + "admin" + s2 + "GenAdminHTTPS.html";
        File file = new File(s3);
        if(file == null || !file.exists())
        {
            _mth01BC(s, s1, printwriter);
        } else
        {
            FileReader filereader = new FileReader(file);
            if(filereader == null)
                return;
            int i = (int)file.length();
            char ac[] = new char[i];
            int j = filereader.read(ac);
            if(ac.length == 0)
                return;
            filereader.close();
            ac = _mth01D9(s, s1, ac);
            printwriter.write(ac);
        }
        printwriter.close();
    }

    private final boolean _fld019E = false;
    private final boolean _fld019F = true;
    public static final String TEMPLATE_LOGON = "AdminLogon.swt";
    public static final String TEMPLATE_MESSAGE = "AdminMessage.swt";
    public static final String TEMPLATE_SERVICE = "AdminService.swt";
    public static final String TEMPLATE_LOGON_PROXY = "__Admin__Logon__.swt";
    public static final String TEMPLATE_MESSAGE_PROXY = "__Admin__Message__.swt";
    public static final String TEMPLATE_SERVICE_PROXY = "__Admin__Service__.swt";
    private final String _fld01A0 = "private";
    private final String _fld01A1 = "no-cache";
    private final long _fld01A2 = 0L;
    private final long _fld01A3 = 0L;
    private final String _fld01A4 = "key";
    private final String _fld01A5 = "adminCall";
    private final String _fld01A6 = "callGenerate";
    private final String _fld01A7 = "callReturn";
    private final String _fld01A8 = "callLogin";
    private final String _fld01A9 = "callLogout";
    private final String _fld01AA = "callUpdateProps";
    private final String _fld01AB = "callUpdateCache";
    private final String _fld01AC = "callUpdateUser";
    private final String _fld01AD = "callUpdateStats";
    private final String _fld01AE = "callLogHits";
    private final String _fld01AF = "callFlush";
    private final String _fld01B0 = "callMessage";
    private final String _fld01B1 = "callMessageOk";
    private final String _fld01B2 = "callHelp";
    private final String _fld01B3 = "callStatistics";
    private final String _fld01B4 = "callDenyAccess";
    private final String _fld01B5 = "admin";
    private final String _fld01B6 = "adminCheck";
    private final String _fld01B7 = "logonusername";
    private final String _fld01B8 = "logonpassword";
    private final String _fld01B9 = "serial";
    private final String _fld01BA = "datetime";
    private final String _fld01BB = "adminmessage";
    private final String _fld01BC = "daysBack";
    private final String _fld01BD = "     ";
    private final String _fld01BE = "          ";
    private String _fld01BF;
    int _fld01C0;
    long _fld01C1;
    long _fld01C2;
    long _fld01C3;
    long _fld01C4;
    int _fld01C5;
    long _fld01C6;
    long _fld01C7;
    long _fld01C8;
    long _fld01C9;
    int _fld01CA;
    long _fld01CB;
    long _fld01CC;
    long _fld01CD;
    long _fld01CE;
    int _fld01CF;
    long _fld01D0;
    long _fld01D1;
    long _fld01D2;
    long _fld01D3;
    int _fld01D4;
    long _fld01D5;
    long _fld01D6;
    long _fld01D7;
    long _fld01D8;
    int _fld01D9;
    long _fld01DA;
    long _fld01DB;
    long _fld01DC;
    long _fld01DD;
    private long _fld01DE;
    private Properties _fld01DF;
    private String _fld01E0;
    private String _fld01E1;
    private String _fld01E2;
    private String _fld01E3;
    private final int _fld01E4 = 25;
    private final String _fld01E5[] = {
        "requestCacheMaxSize", "requestCacheForce", "requestCacheDefaultExpire", "requestCacheRecycle", "fontCacheMaxSize", "fontCacheForce", "fontCacheDefaultExpire", "fontCacheRecycle", "fontCacheCheckModifiedSince", "mediaCacheMaxSize", 
        "mediaCacheForce", "mediaCacheDefaultExpire", "mediaCacheRecycle", "mediaCacheCheckModifiedSince", "fileCacheMaxSize", "fileCacheForce", "fileCacheDefaultExpire", "fileCacheRecycle", "fileCacheCheckModifiedSince", "fileCacheLoadIndex", 
        "cacheDiskBufferSize", "cacheNetBufferSize", "cacheLoggingLevel", "cacheLogCycle", "cacheLogMaxFiles"
    };
    private final String _fld01E6[] = {
        "rMaxSize", "rForce", "rExpire", "rRecycle", "tMaxSize", "tForce", "tExpire", "tRecycle", "tModified", "mMaxSize", 
        "mForce", "mExpire", "mRecycle", "mModified", "fMaxSize", "fForce", "fExpire", "fRecycle", "fModified", "fLoad", 
        "cDiskSize", "cNetSize", "cLogLevel", "cLogCycle", "cLogsMax"
    };
    private final String _fld01E7 = "loggingLevel";
    private final String _fld01E8 = "fontpath";
    private final String _fld01E9 = "maxThreads";
    private final String _fld01EA = "requestTimeout";
    private final String _fld01EB = "defaultSymbolFile";
    private final String _fld01EC = "userclasspath";
    private final int _fld01ED = 6;
    private final String _fld01EE[] = {
        "loggingLevel", "fontpath", "maxThreads", "requestTimeout", "defaultSymbolFile", "userclasspath"
    };
    private final String _fld01EF = "serverName";
    private final String _fld01F0 = "serverPort";
    private final String _fld01F1 = "startuptime";
    private final String _fld01F2 = "installPath";
    private final String _fld01F3 = "genVersion";
    private final String _fld01F4 = "genBuild";
    private final String _fld01F5 = "genBuildDate";
    private final String _fld01FA = "generatorCopyright";
    private final String _fld01FB = "os";
    private final String _fld01FC = "javaVersion";
    private final String _fld01FD = "serverInfo";
    private final String _fld01FE = "swfCnt";
    private final String _fld01FF = "swfAvgSize";
    private final String _fld0200 = "swfAvgTime";
    private final String _fld0201 = "swfMaxSize";
    private final String _fld0202 = "swfMaxTime";
    private final String _fld0203 = "jpegCnt";
    private final String _fld0204 = "jpegAvgSize";
    private final String _fld0205 = "jpegAvgTime";
    private final String _fld0206 = "jpegMaxSize";
    private final String _fld0207 = "jpegMaxTime";
    private final String _fld0208 = "pngCnt";
    private final String _fld0209 = "pngAvgSize";
    private final String _fld020A = "pngAvgTime";
    private final String _fld020B = "pngMaxSize";
    private final String _fld020C = "pngMaxTime";
    private final String _fld020D = "gifCnt";
    private final String _fld020E = "gifAvgSize";
    private final String _fld020F = "gifAvgTime";
    private final String _fld0210 = "gifMaxSize";
    private final String _fld0211 = "gifMaxTime";
    private final String _fld0212 = "xgifCnt";
    private final String _fld0213 = "xgifAvgSize";
    private final String _fld0214 = "xgifAvgTime";
    private final String _fld0215 = "xgifMaxSize";
    private final String _fld0216 = "xgifMaxTime";
    private final String _fld0217 = "qtmCnt";
    private final String _fld0250 = "qtmAvgSize";
    private final String _fld0251 = "qtmAvgTime";
    private final String _fld0252 = "qtmMaxSize";
    private final String _fld0253 = "qtmMaxTime";
    private final String _fld0254 = "threadCount";
    private final int _fld0255 = 42;
    private final String _fld0256[] = {
        "serverName", "serverPort", "startuptime", "installPath", "genVersion", "genBuild", "genBuildDate", "generatorCopyright", "os", "serverInfo", 
        "javaVersion", "swfCnt", "swfAvgSize", "swfAvgTime", "swfMaxSize", "swfMaxTime", "jpegCnt", "jpegAvgSize", "jpegAvgTime", "jpegMaxSize", 
        "jpegMaxTime", "pngCnt", "pngAvgSize", "pngAvgTime", "pngMaxSize", "pngMaxTime", "gifCnt", "gifAvgSize", "gifAvgTime", "gifMaxSize", 
        "gifMaxTime", "xgifCnt", "xgifAvgSize", "xgifAvgTime", "xgifMaxSize", "xgifMaxTime", "qtmCnt", "qtmAvgSize", "qtmAvgTime", "qtmMaxSize", 
        "qtmMaxTime", "threadCount"
    };
    private final int _fld0257 = 32;
    private int _fld0258;
    private String _fld0259[];
    private String _fld025A[];
    private boolean _fld025B;
    private boolean _fld025C;
    private FlashGenerator _fld025D;
    private String _fld025E;
    private String _fld025F;
    private String _fld0260;
    private String _fld0261;
    private String _fld0262;
    private String _fld0263;
    private boolean _fld0264;
    private long _fld0265;
    private String _fld0266;
    private int _fld0267;
    private String _fld0268;
    private String _fld0269;
    private String _fld026A;
    private String _fld026B;
    private String _fld026C;
    private String _fld026D;
    public static final String PROP_LOG_HIT_COUNTS = "logHitCounts";
    public static final String PROP_FLUSH_CACHES = "flushCaches";
    public static final String PROP_LOGGING_LEVEL = "loggingLevel";
    public static final String PROP_EXTERNAL_FONT_PATH = "extFontPath";
    public static final String PROP_PROPERTIES_PATH = "propPath";
    public static final String PROP_SERIAL = "serial";
    public static final String PROP_SERVER_NUMBER = "serverNumber";
    public static final String PROP_STARTUP_TIME = "startupTime";
    public static final String PROP_LOG_STATS = "logstats";
    public static final String PROP_SWF_CNT = "swfCnt";
    public static final String PROP_SWF_AVG_SIZE = "swfAvgSz";
    public static final String PROP_SWF_AVG_TIME = "swfAvgTime";
    public static final String PROP_SWF_MAX_SIZE = "swfMaxSz";
    public static final String PROP_SWF_MAX_TIME = "swfMaxTime";
    public static final String PROP_GIF_CNT = "gifCnt";
    public static final String PROP_GIF_AVG_SIZE = "gifAvgSz";
    public static final String PROP_GIF_AVG_TIME = "gifAvgTime";
    public static final String PROP_GIF_MAX_SIZE = "gifMaxSz";
    public static final String PROP_GIF_MAX_TIME = "gifMaxTime";
    public static final String PROP_JPG_CNT = "jpgCnt";
    public static final String PROP_JPG_AVG_SIZE = "jpgAvgSz";
    public static final String PROP_JPG_AVG_TIME = "jpgAvgTime";
    public static final String PROP_JPG_MAX_SIZE = "jpgMaxSz";
    public static final String PROP_JPG_MAX_TIME = "jpgMaxTime";
    public static final String PROP_PNG_CNT = "pngCnt";
    public static final String PROP_PNG_AVG_SIZE = "pngAvgSz";
    public static final String PROP_PNG_AVG_TIME = "pngAvgTime";
    public static final String PROP_PNG_MAX_SIZE = "pngMaxSz";
    public static final String PROP_PNG_MAX_TIME = "pngMaxTime";
    public static final String PROP_QTM_CNT = "qtmCnt";
    public static final String PROP_QTM_AVG_SIZE = "qtmAvgSz";
    public static final String PROP_QTM_AVG_TIME = "qtmAvgTime";
    public static final String PROP_QTM_MAX_SIZE = "qtmMaxSz";
    public static final String PROP_QTM_MAX_TIME = "qtmMaxTime";
    public static final String PROP_THREAD_COUNT = "threadCount";
    public static final String PROP_MAX_THREADS = "maxhreads";
    public static final String PROP_TIMEOUT = "timeout";
    public static final String PROP_DISABLE_REQUESTS = "disableReqs";
    public static final String PROP_CUR_JOB_COUNT = "curJobCount";
    public static final String kReportKey = "com.macromedia.generator.reportkey";
    public static final String kReportDebug = "com.macromedia.generator.reportdebug";
    private int _fld026E;
    Random _fld026F;
}