パッケージ | com.adobe.icc.enum |
クラス | public final class MimeType |
継承 | MimeType Object |
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
関連する API エレメント
メソッド | 定義元 | ||
---|---|---|---|
[静的]
Converts a FILEEXT value to a TYPE value. | MimeType | ||
[静的]
Specifies whether the format represents image content. | MimeType | ||
[静的]
True if the format represents text content. | MimeType | ||
[静的]
Converts a FORMAT value to a FILEEXT value. | MimeType | ||
[静的]
Converts a FORMAT value to a TYPE value. | MimeType | ||
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | ||
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | ||
指定されたプロパティが存在し、列挙できるかどうかを示します。 | Object | ||
ループ処理に対するダイナミックプロパティの可用性を設定します。 | Object | ||
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | ||
指定されたオブジェクトのストリング表現を返します。 | Object | ||
[静的]
Converts a TYPE value to a FORMAT value. | MimeType | ||
指定されたオブジェクトのプリミティブな値を返します。 | Object |
定数 | 定義元 | ||
---|---|---|---|
FILEEXT_GIF : String = "gif" [静的]
File: GIF image. | MimeType | ||
FILEEXT_JPEG : String = "jpeg" [静的]
File: JPEG image. | MimeType | ||
FILEEXT_JPG : String = "jpg" [静的]
File: JPG image. | MimeType | ||
FILEEXT_PNG : String = "png" [静的]
File: PNG image. | MimeType | ||
FILEEXT_TEXT : String = "txt" [静的]
File: Text-based (plain/unformatted text). | MimeType | ||
FILEEXT_XML : String = "xml" [静的]
File: XML-based (could be HTML, XHTML, plain XML, etc.). | MimeType | ||
FORMAT_GIF : String = "image/gif" [静的] Image Format: GIF content. | MimeType | ||
FORMAT_JPEG : String = "image/jpeg" [静的] Image Format: JPEG content. | MimeType | ||
FORMAT_JPG : String = "image/jpg" [静的] Image Format: JPG content. | MimeType | ||
FORMAT_PLAINTEXT : String = "text/plain" [静的] Text Format: Plain text content. | MimeType | ||
FORMAT_PNG : String = "image/png" [静的] Image Format: PNG content. | MimeType | ||
FORMAT_RICHTEXT : String = "text/html" [静的] Text Format: XHTML content. | MimeType | ||
FORMAT_XMLTEXT : String = "text/xml" [静的] Text Format: Flash HTML/Flex Rich Text content. | MimeType | ||
TYPE_GIF : String = "IMAGE_GIF" [静的]
Image Type: GIF content. | MimeType | ||
TYPE_JPEG : String = "IMAGE_JPEG" [静的]
Image Type: JPEG content. | MimeType | ||
TYPE_PLAINTEXT : String = "TEXT_PLAIN" [静的]
Text Type: Plain text content. | MimeType | ||
TYPE_PNG : String = "IMAGE_PNG" [静的]
Image Type: PNG content. | MimeType | ||
TYPE_RICHTEXT : String = "TEXT_RICH" [静的]
Text Type: XHTML content. | MimeType | ||
TYPE_XMLTEXT : String = "TEXT_XML" [静的]
Text Type: Flash HTML/Flex Rich Text content. | MimeType |
fileExtToType | () | メソッド |
public static function fileExtToType(fileExt:String):String
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FILEEXT value to a TYPE value. FILEXT is a file extension.
パラメーター
fileExt:String — The FILEEXT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
例外
Error — Invalid file extension.
|
formatIsImage | () | メソッド |
public static function formatIsImage(format:String):Boolean
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Specifies whether the format represents image content. Note that true is only returned if format
is explicitly set to
something recognized as an image.
パラメーター
format:String — The format to inspect. One of the image format constants. For example, FORMAT_JPG, FORMAT_JPEG, or FORMAT_PNG.
|
Boolean — Boolean indicating whether the format represents image content
|
formatIsText | () | メソッド |
public static function formatIsText(format:String):Boolean
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
True if the format represents text content. Note that true is only returned if format
is explicitly set to
something recognized as text.
パラメーター
format:String — The format to inspect. One of the text format constants. For example, FORMAT_RICHTEXT, FORMAT_XMLTEXT, or FORMAT_PLAINTEXT.
|
Boolean — the boolean value indicating if the format represents Text content.
|
formatToFileExt | () | メソッド |
public static function formatToFileExt(format:String):String
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a FILEEXT value. That is, a file extension.
パラメーター
format:String — The FORMAT constant value to convert to a FILEEXT constant value.
|
String — Associated FILEEXT constant value.
|
例外
Error — Invalid format.
|
formatToType | () | メソッド |
public static function formatToType(format:String):String
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a TYPE value.
パラメーター
format:String — The FORMAT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
例外
Error — Invalid format.
|
typeToFormat | () | メソッド |
public static function typeToFormat(type:String):String
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a TYPE value to a FORMAT value.
パラメーター
type:String — The TYPE const value to convert to a FORMAT const value.
|
String — Associated FORMAT const value.
|
例外
Error — Invalid type.
|
FILEEXT_GIF | 定数 |
public static const FILEEXT_GIF:String = "gif"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: GIF image.
FILEEXT_JPEG | 定数 |
public static const FILEEXT_JPEG:String = "jpeg"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPEG image.
FILEEXT_JPG | 定数 |
public static const FILEEXT_JPG:String = "jpg"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPG image.
FILEEXT_PNG | 定数 |
public static const FILEEXT_PNG:String = "png"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: PNG image.
FILEEXT_TEXT | 定数 |
public static const FILEEXT_TEXT:String = "txt"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: Text-based (plain/unformatted text).
FILEEXT_XML | 定数 |
public static const FILEEXT_XML:String = "xml"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: XML-based (could be HTML, XHTML, plain XML, etc.).
FORMAT_GIF | 定数 |
public static const FORMAT_GIF:String = "image/gif"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: GIF content.
FORMAT_JPEG | 定数 |
public static const FORMAT_JPEG:String = "image/jpeg"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPEG content.
FORMAT_JPG | 定数 |
public static const FORMAT_JPG:String = "image/jpg"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPG content.
FORMAT_PLAINTEXT | 定数 |
public static const FORMAT_PLAINTEXT:String = "text/plain"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Plain text content.
FORMAT_PNG | 定数 |
public static const FORMAT_PNG:String = "image/png"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: PNG content.
FORMAT_RICHTEXT | 定数 |
public static const FORMAT_RICHTEXT:String = "text/html"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: XHTML content.
FORMAT_XMLTEXT | 定数 |
public static const FORMAT_XMLTEXT:String = "text/xml"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Flash HTML/Flex Rich Text content.
TYPE_GIF | 定数 |
public static const TYPE_GIF:String = "IMAGE_GIF"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: GIF content.
TYPE_JPEG | 定数 |
public static const TYPE_JPEG:String = "IMAGE_JPEG"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: JPEG content.
TYPE_PLAINTEXT | 定数 |
public static const TYPE_PLAINTEXT:String = "TEXT_PLAIN"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Plain text content.
TYPE_PNG | 定数 |
public static const TYPE_PNG:String = "IMAGE_PNG"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: PNG content.
TYPE_RICHTEXT | 定数 |
public static const TYPE_RICHTEXT:String = "TEXT_RICH"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: XHTML content.
TYPE_XMLTEXT | 定数 |
public static const TYPE_XMLTEXT:String = "TEXT_XML"
言語バージョン: | ActionScript 3.0 |
製品バージョン: | Asset Composer Building Block 9.5 |
ランタイムバージョン: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Flash HTML/Flex Rich Text content.
Tue Jun 12 2018, 10:34 AM Z