woolpack.text
クラス BooleanFormat

java.lang.Object
  上位を拡張 java.text.Format
      上位を拡張 woolpack.text.LimitedValueFormat
          上位を拡張 woolpack.text.BooleanFormat
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable

public class BooleanFormat
extends LimitedValueFormat

真偽値をフォーマットする変換器。

作成者:
nakamura
関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス java.text.Format から継承された入れ子のクラス/インタフェース
java.text.Format.Field
 
コンストラクタの概要
  BooleanFormat()
          コンストラクタ。
protected BooleanFormat(BooleanFormat format)
          コピーコンストラクタ。
  BooleanFormat(java.lang.String trueString, java.lang.String falseString)
          コンストラクタ。
 
メソッドの概要
 java.lang.Object clone()
           
 
クラス woolpack.text.LimitedValueFormat から継承されたメソッド
format, getDefaultFormattedValue, getDefaultParsedValue, getParseMap, parseObject
 
クラス java.text.Format から継承されたメソッド
format, formatToCharacterIterator, parseObject
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BooleanFormat

protected BooleanFormat(BooleanFormat format)
コピーコンストラクタ。 clone()から呼び出される(called)。

パラメータ:
format - コピー元。

BooleanFormat

public BooleanFormat(java.lang.String trueString,
                     java.lang.String falseString)
コンストラクタ。

パラメータ:
trueString - true 値の文字列表現。
falseString - false 値の文字列表現。
例外:
java.lang.NullPointerException - 引数のいずれかが null の場合。
java.lang.StringIndexOutOfBoundsException - replacement が空の場合。

BooleanFormat

public BooleanFormat()
コンストラクタ。 true 値の文字列表現として"true"を使用する。 false 値の文字列表現として"false"を使用する。

メソッドの詳細

clone

public java.lang.Object clone()
オーバーライド:
クラス LimitedValueFormat 内の clone


Copyright (C) 2006 Takahiro Nakamura. All rights reserved.