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()
          コンストラクタ。
BooleanFormat(java.lang.String trueString, java.lang.String falseString)
          コンストラクタ。
 
メソッドの概要
 
クラス woolpack.text.LimitedValueFormat から継承されたメソッド
format, getDefaultFormattedValue, getDefaultParsedValue, getParseMap, parseObject
 
クラス java.text.Format から継承されたメソッド
clone, format, formatToCharacterIterator, parseObject
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

BooleanFormat

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

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

BooleanFormat

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



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