public static enum Address.RecipientType extends Enum<Address.RecipientType> implements Codable
列挙型定数と説明 |
---|
BCC
このメールの受信者(BCC)であることを表します。
|
CC
このメールの受信者(CC)であることを表します。
|
FROM
このメールの送信者であることを表します。
|
TO
このメールの受信者(TO)であることを表します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static Address.RecipientType |
decode(String code)
コードをenumに復元します。
|
String |
encode()
コード値を返します。
|
static Address.RecipientType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Address.RecipientType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Address.RecipientType FROM
public static final Address.RecipientType TO
public static final Address.RecipientType CC
public static final Address.RecipientType BCC
public static Address.RecipientType[] values()
for(Address.RecipientType c: Address.RecipientType.values()) System.out.println(c);
public static Address.RecipientType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合public static Address.RecipientType decode(String code)
code
- コード値RecipientType
インスタンスCopyright © 2022 UCM Co., Ltd.. All rights reserved.