public void recordStat(Stat stat)
    {
        boolean flag = true;
        int i = 0;
        int length = 0;

        if (excludeFromProcessing_ != null)
        {
            length = excludeFromProcessing_.length;
            for (i = 0; i < length; i++)
            {
                if ( (stat.getCategory()+".").startsWith(excludeFromProcessing_[i]+".") )
                {
                    flag = false;
                    break;
                }
            }
        }

        if (flag) {
            statList_.add(stat);
        }

        flag = true;
        if (excludeFromFile_ != null)
        {
            length = excludeFromFile_.length;
            for (i = 0; i < length; i++)
            {
                if ( (stat.getCategory()+".").startsWith(excludeFromFile_[i]+".") )
                {
                    flag = false;
                    break;
                }
            }
        }

        if (flag) {
            outFile_.println( stat.toString() );
        }
    }