3.2 ExcelEngineクラス
ExcelEngineクラス
ここでは、Excel出力機能で使用するAPIに関して説明します。
ここで説明する内容は、Excel出力機能に関するAPIのみです。
本機能はレイアウトデータをExcelファイル形式で出力するためのものです。
ExcelEngineコンストラクタ
Excel出力に必要な情報を作成します。【構文】
public ExcelEngine(OutputStream output);
public ExcelEngine(File file) throws java.io.IOException;
public ExcelEngine(String filename) throws java.io.IOException;
public ExcelEngine();
【引数】
引数名 | 型 | 内容 |
---|---|---|
output | OutputStream | OutputStreamクラス |
file | File | ファイル情報を持ったFileクラス |
filename | String | XMLファイル名 |
- ExcelEngineクラスは、互換性を保つためPDFEngineクラスが提供するAPIが用意されていますが、基本的にExcelファイルに反映されません。