|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.opengion.hayabusa.report.AbstractDBTableReport
org.opengion.hayabusa.report.DBTableReport_Excel
public class DBTableReport_Excel
DBTableReport インターフェース を実装したネイティブEXCEL形式で出力するクラスです。 AbstractDBTableReport を継承していますので,writeReport() のみオーバーライドして, 固定長文字ファイルの出力機能を実現しています。
フィールドの概要 | |
---|---|
(package private) org.apache.poi.hssf.usermodel.HSSFWorkbook |
wb
|
クラス org.opengion.hayabusa.report.AbstractDBTableReport から継承されたフィールド |
---|
dataOver, firstTemplateFile, footerKeys, footerVals, headerKeys, headerVals, htmlDir, htmlFileKey, lineCopyCnt, listId, maxPageCount, maxRowCount, pageCount, pageEndCut, pageRowCount, reader, resource, rowOver, table, templateFile, writer, ykno |
コンストラクタの概要 | |
---|---|
DBTableReport_Excel()
|
メソッドの概要 | |
---|---|
protected void |
changeCell(org.apache.poi.hssf.usermodel.HSSFCell oCell)
セル情報を変更します。 |
protected java.lang.String |
changeData(java.lang.String inLine)
入力文字列 を加工して、出力します。 |
protected java.lang.String |
changeFormulaAttr(java.lang.String inLine)
POIで解釈したExcel式の中の変な属性を加工して、出力します。 |
protected void |
changeSheet()
Excelの雛型をコピーして、そのシートに帳票データを埋め込みます。 |
protected void |
close()
リーダー、ライターの終了処理を行います。 |
protected void |
initReader()
POIFSFileSystem を、初期化します。 |
protected void |
initWriter()
FileOutputStream を、初期化します。 |
protected void |
println(java.lang.String line)
入力文字列 を読み取って、出力します。 |
protected java.lang.String |
readLine()
入力文字列 を読み取って、出力します。 |
void |
writeReport()
DBTableModel から データを作成して,PrintWriter に書き出します。 |
クラス org.opengion.hayabusa.report.AbstractDBTableReport から継承されたメソッド |
---|
getRealRow, getValue, setDBTableModel, setFirstTemplateFile, setFooterKeys, setFooterVals, setHeaderFooter, setHeaderKeys, setHeaderVals, setListId, setOutputDir, setOutputFileKey, setPageEndCut, setResourceManager, setTemplateFile, setYkno |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
org.apache.poi.hssf.usermodel.HSSFWorkbook wb
コンストラクタの詳細 |
---|
public DBTableReport_Excel()
メソッドの詳細 |
---|
public void writeReport()
DBTableReport
内の writeReport
AbstractDBTableReport
内の writeReport
protected void initReader()
AbstractDBTableReport
内の initReader
protected void initWriter()
AbstractDBTableReport
内の initWriter
protected void close()
protected void changeSheet()
4.3.4.0 (2008/12/01) POI3.2対応 |
protected void changeCell(org.apache.poi.hssf.usermodel.HSSFCell oCell)
oCell
- HSSFCellオブジェクト4.3.4.0 (2008/12/01) POI3.2対応 |
protected java.lang.String changeFormulaAttr(java.lang.String inLine)
inLine
- 入力文字列
protected java.lang.String changeData(java.lang.String inLine)
AbstractDBTableReport
内の changeData
inLine
- 入力文字列
protected java.lang.String readLine()
AbstractDBTableReport
内の readLine
protected void println(java.lang.String line)
AbstractDBTableReport
内の println
line
- 入力文字列
|
openGion 5.7.4.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |