|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.mosp.common.common.PoiReadUtility
public class PoiReadUtility
Excelファイル読込ユーティリティ
2008/11/28
フィールドの概要 | |
---|---|
protected static String |
SHEET_NAME
シート名 |
コンストラクタの概要 | |
---|---|
PoiReadUtility()
デフォルトコンストラクタ |
|
PoiReadUtility(File file)
コンストラクタ |
|
PoiReadUtility(String filePath)
コンストラクタ |
メソッドの概要 | |
---|---|
protected org.apache.poi.hssf.usermodel.HSSFCell |
getCell()
セル取得 |
protected String |
getCellValue(short cellno)
指定セルの値取得(String型) |
protected Date |
getDateCellValue()
セルの値取得(Date型) |
protected double |
getNumberCellValue()
セルの値取得(double型) |
protected org.apache.poi.hssf.usermodel.HSSFRow |
getRow()
列取得 |
protected org.apache.poi.hssf.usermodel.HSSFSheet |
getSheet()
シート取得 |
protected String |
getStringCellValue()
セルの値取得(String型) |
protected String |
getStringCellValue(short cellno)
指定セルの値取得(String型) |
protected void |
setCell(short cellno)
セル設定 |
protected void |
setRow(org.apache.poi.hssf.usermodel.HSSFRow row)
列設定 |
protected void |
setRow(int rowno)
列設定 |
protected void |
setSheet()
シート設定 |
protected void |
setSheet(String sheetname)
シート設定(指定シート) |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static final String SHEET_NAME
コンストラクタの詳細 |
---|
public PoiReadUtility()
public PoiReadUtility(String filePath)
filePath
- 絶対ファイルパスpublic PoiReadUtility(File file)
file
- ファイル名メソッドの詳細 |
---|
protected org.apache.poi.hssf.usermodel.HSSFSheet getSheet()
protected void setSheet() throws MospException
MospException
protected void setSheet(String sheetname) throws MospException
sheetname
- シート名
MospException
protected void setCell(short cellno)
cellno
- cell番号protected void setRow(org.apache.poi.hssf.usermodel.HSSFRow row)
row
- row番号protected org.apache.poi.hssf.usermodel.HSSFCell getCell()
protected org.apache.poi.hssf.usermodel.HSSFRow getRow()
protected void setRow(int rowno)
rowno
- row番号protected String getStringCellValue()
protected String getStringCellValue(short cellno)
cellno
- cell番号
protected double getNumberCellValue()
protected Date getDateCellValue()
protected String getCellValue(short cellno)
cellno
- cell番号
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |