private  static void setStyle(HSSFWorkbook wb,String[][] astyle,HSSFCellStyle style)
    {
         for(int x=0;x<astyle.length;x++)
         {
              if(Style.BACKGROUNDCOLOR.equals(astyle[x][0])&&(!"".equals(astyle[x][1])))
             {
                 String color = astyle[x][1] ;
                 short indexc = getIndexOfColor(color);
                 if(indexc!=0)
                 {
                      setBackGroundColorOfCell(null,style,indexc);
                 }   

             }else if(Style.FONTSIZE.equals(astyle[x][0])&&(!"".equals(astyle[x][1])))
             {

                    setFontStyle(wb,style,Style.FONTSIZE,astyle[x][1]);

             }else if(Style.FONTFAMILY.equals(astyle[x][0])&&(!"".equals(astyle[x][1])))
             {
//                 String fontFamily = astyle[x][1];
                 

             }
         }
    }