jp.terasoluna.fw.file.dao.standard
クラス DateColumnFormatter
java.lang.Object
jp.terasoluna.fw.file.dao.standard.DateColumnFormatter
- すべての実装されたインタフェース:
- ColumnFormatter
public class DateColumnFormatter
- extends Object
- implements ColumnFormatter
カラムフォーマット(ファイル書込)を行うクラス。
ファイル行オブジェクトからデータを取得し、文字列をFileUpdateDAOに返却する。 アノテーションの記述に従いDate型のフォーマット処理を行う。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateColumnFormatter
public DateColumnFormatter()
format
public String format(Object t,
Method method,
String columnFormat)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Date型のフォーマット処理を行い、文字列を返却する。
- 定義:
- インタフェース
ColumnFormatter
内の format
- パラメータ:
t
- ファイル行オブジェクトmethod
- カラムフォーマットを行う属性のゲッタメソッドcolumnFormat
- カラムフォーマット用の文字列
- 戻り値:
- 文字列
- 例外:
IllegalArgumentException
- ファイル行オブジェクトのgetterメソッドのアクセスに失敗したとき
IllegalAccessException
- ファイル行オブジェクトへの設定が失敗したとき
InvocationTargetException
- ファイル行オブジェクトのメソッドが例外をスローしたとき
Copyright © 2012. All Rights Reserved.