Package com.inductiveautomation.rm.out
Class RMExcelWriter
java.lang.Object
com.inductiveautomation.rm.out.RMExcelWriter
This class is used to generate an Excel file from an RMDocument.
You simply invoke this with: new RMExcelWriter().getBytes(aDoc);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes
(RMDocument aDoc) Returns a byte array of an Excel file (.xls) for the given RMDocument.
-
Constructor Details
-
RMExcelWriter
public RMExcelWriter()Creates a basic excel writer.
-
-
Method Details
-
getBytes
Returns a byte array of an Excel file (.xls) for the given RMDocument.- Parameters:
aDoc
- the RMDocument to retrieve the bytes from. Must not be null- Returns:
- the byte array of the contents of the document
-