private String getConvertedSampleDataRepresentation(String sOldRepresentation)
private String getConvertedSampleDataRepresentation(String sOldRepresentation, boolean bStockSeries)
    private String getConvertedSampleDataRepresentation(String sOldRepresentation)    {        StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ",");        NumberFormat nf = NumberFormat.getNumberInstance();        StringBuffer sbNewRepresentation = new StringBuffer("");        int iValueCount = 0;        while(strtok.hasMoreTokens())        {            String sElement = strtok.nextToken().trim();            try            {                double dbl = nf.parse(sElement).doubleValue();                if(dbl < 0)                {                    // If the value is negative, use an arbitrary positive value                    sElement = String.valueOf(4.0 + iValueCount);                    iValueCount++;                }                else                {                    sElement = String.valueOf(dbl);                }            }            catch (ParseException e )            {                sElement = String.valueOf(6.0 + iValueCount);                iValueCount++;            }            sbNewRepresentation.append(sElement);            sbNewRepresentation.append(",");        }        return sbNewRepresentation.toString().substring(0, sbNewRepresentation.length() - 1);    }