public static enum Attachment.StorageType extends Enum<Attachment.StorageType>
列挙型定数と説明 |
---|
BIN_ISO_8859_1_STR
バイナリデータをISO_8859_1でデコードした文字列です。
|
PUBLIC
パブリックストレージです。
|
SESSION
セッションスコープストレージです。
|
STORAGE_UNMANAGED
Groupmailの管理下ではないストレージのファイルを表します。
|
STREAM
入力ストリームです
|
STRING
UTF-8で記述されたテキストです。
|
修飾子とタイプ | メソッドと説明 |
---|---|
static Attachment.StorageType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static Attachment.StorageType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final Attachment.StorageType PUBLIC
public static final Attachment.StorageType STORAGE_UNMANAGED
public static final Attachment.StorageType SESSION
public static final Attachment.StorageType STRING
dataString
に保持します。public static final Attachment.StorageType STREAM
public static final Attachment.StorageType BIN_ISO_8859_1_STR
dataString
に保持します。public static Attachment.StorageType[] values()
for(Attachment.StorageType c: Attachment.StorageType.values()) System.out.println(c);
public static Attachment.StorageType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2022 UCM Co., Ltd.. All rights reserved.