How to convert a ByteArrayOutputStream into a PDF and save in hard disk in Java? -
how convert bytearrayoutputstream pdf , save in hard disk in java? please give sampple.
what mean "convert bytearrayoutputstream pdf"? bytearrayoutputstream containing pdf data wanna write on disk? maybe :
string filename = "c:\\test.pdf"; fileoutputstream output = new fileoutputstream(filename); output.write(bytearrayoutputstream.tobytearray()); output.close();
Comments
Post a Comment