Package | com.adobe.icc.enum |
Classe | public final class MimeType |
Héritage | MimeType Object |
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Eléments de l’API associés
Méthode | Défini par | ||
---|---|---|---|
[statique]
Converts a FILEEXT value to a TYPE value. | MimeType | ||
[statique]
Specifies whether the format represents image content. | MimeType | ||
[statique]
True if the format represents text content. | MimeType | ||
[statique]
Converts a FORMAT value to a FILEEXT value. | MimeType | ||
[statique]
Converts a FORMAT value to a TYPE value. | MimeType | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
[statique]
Converts a TYPE value to a FORMAT value. | MimeType | ||
Renvoie la valeur primitive de l’objet spécifié. | Object |
Constante | Défini par | ||
---|---|---|---|
FILEEXT_GIF : String = "gif" [statique]
File: GIF image. | MimeType | ||
FILEEXT_JPEG : String = "jpeg" [statique]
File: JPEG image. | MimeType | ||
FILEEXT_JPG : String = "jpg" [statique]
File: JPG image. | MimeType | ||
FILEEXT_PNG : String = "png" [statique]
File: PNG image. | MimeType | ||
FILEEXT_TEXT : String = "txt" [statique]
File: Text-based (plain/unformatted text). | MimeType | ||
FILEEXT_XML : String = "xml" [statique]
File: XML-based (could be HTML, XHTML, plain XML, etc.). | MimeType | ||
FORMAT_GIF : String = "image/gif" [statique] Image Format: GIF content. | MimeType | ||
FORMAT_JPEG : String = "image/jpeg" [statique] Image Format: JPEG content. | MimeType | ||
FORMAT_JPG : String = "image/jpg" [statique] Image Format: JPG content. | MimeType | ||
FORMAT_PLAINTEXT : String = "text/plain" [statique] Text Format: Plain text content. | MimeType | ||
FORMAT_PNG : String = "image/png" [statique] Image Format: PNG content. | MimeType | ||
FORMAT_RICHTEXT : String = "text/html" [statique] Text Format: XHTML content. | MimeType | ||
FORMAT_XMLTEXT : String = "text/xml" [statique] Text Format: Flash HTML/Flex Rich Text content. | MimeType | ||
TYPE_GIF : String = "IMAGE_GIF" [statique]
Image Type: GIF content. | MimeType | ||
TYPE_JPEG : String = "IMAGE_JPEG" [statique]
Image Type: JPEG content. | MimeType | ||
TYPE_PLAINTEXT : String = "TEXT_PLAIN" [statique]
Text Type: Plain text content. | MimeType | ||
TYPE_PNG : String = "IMAGE_PNG" [statique]
Image Type: PNG content. | MimeType | ||
TYPE_RICHTEXT : String = "TEXT_RICH" [statique]
Text Type: XHTML content. | MimeType | ||
TYPE_XMLTEXT : String = "TEXT_XML" [statique]
Text Type: Flash HTML/Flex Rich Text content. | MimeType |
fileExtToType | () | méthode |
public static function fileExtToType(fileExt:String):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FILEEXT value to a TYPE value. FILEXT is a file extension.
Paramètres
fileExt:String — The FILEEXT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Valeur émise
Error — Invalid file extension.
|
formatIsImage | () | méthode |
public static function formatIsImage(format:String):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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.
Paramètres
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 | () | méthode |
public static function formatIsText(format:String):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | 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.
Paramètres
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 | () | méthode |
public static function formatToFileExt(format:String):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a FILEEXT value. That is, a file extension.
Paramètres
format:String — The FORMAT constant value to convert to a FILEEXT constant value.
|
String — Associated FILEEXT constant value.
|
Valeur émise
Error — Invalid format.
|
formatToType | () | méthode |
public static function formatToType(format:String):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a TYPE value.
Paramètres
format:String — The FORMAT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Valeur émise
Error — Invalid format.
|
typeToFormat | () | méthode |
public static function typeToFormat(type:String):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a TYPE value to a FORMAT value.
Paramètres
type:String — The TYPE const value to convert to a FORMAT const value.
|
String — Associated FORMAT const value.
|
Valeur émise
Error — Invalid type.
|
FILEEXT_GIF | Constante |
public static const FILEEXT_GIF:String = "gif"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: GIF image.
FILEEXT_JPEG | Constante |
public static const FILEEXT_JPEG:String = "jpeg"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPEG image.
FILEEXT_JPG | Constante |
public static const FILEEXT_JPG:String = "jpg"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPG image.
FILEEXT_PNG | Constante |
public static const FILEEXT_PNG:String = "png"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: PNG image.
FILEEXT_TEXT | Constante |
public static const FILEEXT_TEXT:String = "txt"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: Text-based (plain/unformatted text).
FILEEXT_XML | Constante |
public static const FILEEXT_XML:String = "xml"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: XML-based (could be HTML, XHTML, plain XML, etc.).
FORMAT_GIF | Constante |
public static const FORMAT_GIF:String = "image/gif"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: GIF content.
FORMAT_JPEG | Constante |
public static const FORMAT_JPEG:String = "image/jpeg"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPEG content.
FORMAT_JPG | Constante |
public static const FORMAT_JPG:String = "image/jpg"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPG content.
FORMAT_PLAINTEXT | Constante |
public static const FORMAT_PLAINTEXT:String = "text/plain"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Plain text content.
FORMAT_PNG | Constante |
public static const FORMAT_PNG:String = "image/png"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: PNG content.
FORMAT_RICHTEXT | Constante |
public static const FORMAT_RICHTEXT:String = "text/html"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: XHTML content.
FORMAT_XMLTEXT | Constante |
public static const FORMAT_XMLTEXT:String = "text/xml"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Flash HTML/Flex Rich Text content.
TYPE_GIF | Constante |
public static const TYPE_GIF:String = "IMAGE_GIF"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: GIF content.
TYPE_JPEG | Constante |
public static const TYPE_JPEG:String = "IMAGE_JPEG"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: JPEG content.
TYPE_PLAINTEXT | Constante |
public static const TYPE_PLAINTEXT:String = "TEXT_PLAIN"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Plain text content.
TYPE_PNG | Constante |
public static const TYPE_PNG:String = "IMAGE_PNG"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: PNG content.
TYPE_RICHTEXT | Constante |
public static const TYPE_RICHTEXT:String = "TEXT_RICH"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: XHTML content.
TYPE_XMLTEXT | Constante |
public static const TYPE_XMLTEXT:String = "TEXT_XML"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Flash HTML/Flex Rich Text content.
Tue Jun 12 2018, 09:30 AM Z