JavaTM 2
Platform
Std. Ed. v1.4.0

java.text
クラス NumberFormat.Field

java.lang.Object
  |
  +--java.text.AttributedCharacterIterator.Attribute
        |
        +--java.text.Format.Field
              |
              +--java.text.NumberFormat.Field
すべての実装インタフェース:
Serializable
含まれているクラス:
NumberFormat

public static class NumberFormat.Field
extends Format.Field

NumberFormat.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キー、および FieldPosition 内のフィールド識別子として使用する定数を定義します。

導入されたバージョン:
1.4
関連項目:
直列化された形式

フィールドの概要
static NumberFormat.Field CURRENCY
          通貨のフィールドを識別する定数です。
static NumberFormat.Field DECIMAL_SEPARATOR
          区切り文字のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT
          指数のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT_SIGN
          指数符号のフィールドを識別する定数です。
static NumberFormat.Field EXPONENT_SYMBOL
          指数記号のフィールドを識別する定数です。
static NumberFormat.Field FRACTION
          小数のフィールドを識別する定数です。
static NumberFormat.Field GROUPING_SEPARATOR
          グループ区切り子のフィールドを識別する定数です。
static NumberFormat.Field INTEGER
          整数のフィールドを識別する定数です。
static NumberFormat.Field PERCENT
          パーセントのフィールドを識別する定数です。
static NumberFormat.Field PERMILLE
          パーミルのフィールドを識別する定数です。
static NumberFormat.Field SIGN
          符号のフィールドを識別する定数です。
 
クラス java.text.AttributedCharacterIterator.Attribute から継承したフィールド
INPUT_METHOD_SEGMENT, LANGUAGE, READING
 
コンストラクタの概要
protected NumberFormat.Field(String name)
          指定された名前を持つ Field インスタンスを作成します。
 
メソッドの概要
protected  Object readResolve()
          直列化復元されるインスタンスを定義済み定数に解決します。
 
クラス java.text.AttributedCharacterIterator.Attribute から継承したメソッド
equals, getName, hashCode, toString
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

INTEGER

public static final NumberFormat.Field INTEGER
整数のフィールドを識別する定数です。


FRACTION

public static final NumberFormat.Field FRACTION
小数のフィールドを識別する定数です。


EXPONENT

public static final NumberFormat.Field EXPONENT
指数のフィールドを識別する定数です。


DECIMAL_SEPARATOR

public static final NumberFormat.Field DECIMAL_SEPARATOR
区切り文字のフィールドを識別する定数です。


SIGN

public static final NumberFormat.Field SIGN
符号のフィールドを識別する定数です。


GROUPING_SEPARATOR

public static final NumberFormat.Field GROUPING_SEPARATOR
グループ区切り子のフィールドを識別する定数です。


EXPONENT_SYMBOL

public static final NumberFormat.Field EXPONENT_SYMBOL
指数記号のフィールドを識別する定数です。


PERCENT

public static final NumberFormat.Field PERCENT
パーセントのフィールドを識別する定数です。


PERMILLE

public static final NumberFormat.Field PERMILLE
パーミルのフィールドを識別する定数です。


CURRENCY

public static final NumberFormat.Field CURRENCY
通貨のフィールドを識別する定数です。


EXPONENT_SIGN

public static final NumberFormat.Field EXPONENT_SIGN
指数符号のフィールドを識別する定数です。

コンストラクタの詳細

NumberFormat.Field

protected NumberFormat.Field(String name)
指定された名前を持つ Field インスタンスを作成します。

パラメータ:
name - 属性の名前
メソッドの詳細

readResolve

protected Object readResolve()
                      throws InvalidObjectException
直列化復元されるインスタンスを定義済み定数に解決します。

オーバーライド:
クラス AttributedCharacterIterator.Attribute 内の readResolve
戻り値:
解決された NumberFormat.Field 定数
例外:
InvalidObjectException - 定数が解釈処理できない場合

JavaTM 2
Platform
Std. Ed. v1.4.0

バグの報告と機能のリクエスト
これ以外の API リファレンスおよび開発者用ドキュメントについては、 Java 2 SDK SE 開発者用ドキュメントを参照してください。 開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、 およびコード実例が含まれています。

Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.