jp.terasoluna.fw.file.dao.standard
クラス DateFormatLocal

java.lang.Object
  上位を拡張 java.lang.ThreadLocal<DateFormat>
      上位を拡張 jp.terasoluna.fw.file.dao.standard.DateFormatLocal

public class DateFormatLocal
extends ThreadLocal<DateFormat>

DateFormatのThreadLocalクラス。
SimpleDateFormatがスレッドセーフではないため、ThreadLocalを使用して
スレッドセーフにする。


コンストラクタの概要
DateFormatLocal(String pattern)
          コンストラクタ
 
メソッドの概要
protected  DateFormat initialValue()
          初期化。
 
クラス java.lang.ThreadLocal から継承されたメソッド
get, remove, set
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DateFormatLocal

public DateFormatLocal(String pattern)
コンストラクタ

メソッドの詳細

initialValue

protected DateFormat initialValue()
初期化。

オーバーライド:
クラス ThreadLocal<DateFormat> 内の initialValue
戻り値:
DateFormatインスタンス


Copyright © 2011. All Rights Reserved.