Class DocumentUtil
- java.lang.Object
-
- org.eclipse.birt.report.model.api.util.DocumentUtil
-
public class DocumentUtil extends java.lang.ObjectUtility class for the serialize a report design in which all the elements localize their property values from the referred external resources, such as library elements, library embedded images.
-
-
Constructor Summary
Constructors Constructor Description DocumentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportDesignHandleserialize(ReportDesignHandle designHandle, java.io.OutputStream out)Writes the report design to the given output stream.
-
-
-
Method Detail
-
serialize
public static ReportDesignHandle serialize(ReportDesignHandle designHandle, java.io.OutputStream out) throws java.io.IOException
Writes the report design to the given output stream. The caller must callonSaveif the save succeeds.- Parameters:
designHandle- the report design to serializeout- the output stream to which the design is written.- Throws:
java.io.IOException- if the file cannot be written to the output stream successfully.
-
-