I am using aspose java to generate the report. For saving the document, I am using the following code.
a) Create document (Document document = new Document () ;)
b) Create the builder object (DocumentBuilder builder = new DocumentBuilder(doc);)
c) Write all the data into builder object one by one using builder.write() method.
It took more time to save the file in the specified path for large amount of data. Moreover sometimes empty file gets saved.
Can anyone please help me to resolve this issue?
Thanks in advance.