Hi,
I have a byte array which contains chart data which i write it file, but i want to convert this file or byte array to binary format and write it file.
byte[] data="";
String strdir = strCRRootPath+"/Charts";
boolean success = (new File(strdir)).mkdirs();
String newFileName = strdir+"/"+chartType+"_Chart_"+chartName+".jpeg";
FileImageOutputStream imageOutput = new FileImageOutputStream(new File(newFileName));
System.out.println(data);
imageOutput.write(data, 0, data.length);
imageOutput.close();
any suggestions or soultions will be highly appriciated.
Thanks in advance,
Rutvej