Pacchetto | com.adobe.icc.enum |
Classe | public final class MimeType |
Ereditarietà | MimeType Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Elementi API correlati
Metodo | Definito da | ||
---|---|---|---|
[statico]
Converts a FILEEXT value to a TYPE value. | MimeType | ||
[statico]
Specifies whether the format represents image content. | MimeType | ||
[statico]
True if the format represents text content. | MimeType | ||
[statico]
Converts a FORMAT value to a FILEEXT value. | MimeType | ||
[statico]
Converts a FORMAT value to a TYPE value. | MimeType | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
[statico]
Converts a TYPE value to a FORMAT value. | MimeType | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costante | Definito da | ||
---|---|---|---|
FILEEXT_GIF : String = "gif" [statico]
File: GIF image. | MimeType | ||
FILEEXT_JPEG : String = "jpeg" [statico]
File: JPEG image. | MimeType | ||
FILEEXT_JPG : String = "jpg" [statico]
File: JPG image. | MimeType | ||
FILEEXT_PNG : String = "png" [statico]
File: PNG image. | MimeType | ||
FILEEXT_TEXT : String = "txt" [statico]
File: Text-based (plain/unformatted text). | MimeType | ||
FILEEXT_XML : String = "xml" [statico]
File: XML-based (could be HTML, XHTML, plain XML, etc.). | MimeType | ||
FORMAT_GIF : String = "image/gif" [statico] Image Format: GIF content. | MimeType | ||
FORMAT_JPEG : String = "image/jpeg" [statico] Image Format: JPEG content. | MimeType | ||
FORMAT_JPG : String = "image/jpg" [statico] Image Format: JPG content. | MimeType | ||
FORMAT_PLAINTEXT : String = "text/plain" [statico] Text Format: Plain text content. | MimeType | ||
FORMAT_PNG : String = "image/png" [statico] Image Format: PNG content. | MimeType | ||
FORMAT_RICHTEXT : String = "text/html" [statico] Text Format: XHTML content. | MimeType | ||
FORMAT_XMLTEXT : String = "text/xml" [statico] Text Format: Flash HTML/Flex Rich Text content. | MimeType | ||
TYPE_GIF : String = "IMAGE_GIF" [statico]
Image Type: GIF content. | MimeType | ||
TYPE_JPEG : String = "IMAGE_JPEG" [statico]
Image Type: JPEG content. | MimeType | ||
TYPE_PLAINTEXT : String = "TEXT_PLAIN" [statico]
Text Type: Plain text content. | MimeType | ||
TYPE_PNG : String = "IMAGE_PNG" [statico]
Image Type: PNG content. | MimeType | ||
TYPE_RICHTEXT : String = "TEXT_RICH" [statico]
Text Type: XHTML content. | MimeType | ||
TYPE_XMLTEXT : String = "TEXT_XML" [statico]
Text Type: Flash HTML/Flex Rich Text content. | MimeType |
fileExtToType | () | metodo |
public static function fileExtToType(fileExt:String):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FILEEXT value to a TYPE value. FILEXT is a file extension.
Parametri
fileExt:String — The FILEEXT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Genera
Error — Invalid file extension.
|
formatIsImage | () | metodo |
public static function formatIsImage(format:String):Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
public static function formatIsText(format:String):Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
public static function formatToFileExt(format:String):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a FILEEXT value. That is, a file extension.
Parametri
format:String — The FORMAT constant value to convert to a FILEEXT constant value.
|
String — Associated FILEEXT constant value.
|
Genera
Error — Invalid format.
|
formatToType | () | metodo |
public static function formatToType(format:String):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a TYPE value.
Parametri
format:String — The FORMAT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Genera
Error — Invalid format.
|
typeToFormat | () | metodo |
public static function typeToFormat(type:String):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a TYPE value to a FORMAT value.
Parametri
type:String — The TYPE const value to convert to a FORMAT const value.
|
String — Associated FORMAT const value.
|
Genera
Error — Invalid type.
|
FILEEXT_GIF | Costante |
public static const FILEEXT_GIF:String = "gif"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: GIF image.
FILEEXT_JPEG | Costante |
public static const FILEEXT_JPEG:String = "jpeg"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPEG image.
FILEEXT_JPG | Costante |
public static const FILEEXT_JPG:String = "jpg"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPG image.
FILEEXT_PNG | Costante |
public static const FILEEXT_PNG:String = "png"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: PNG image.
FILEEXT_TEXT | Costante |
public static const FILEEXT_TEXT:String = "txt"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: Text-based (plain/unformatted text).
FILEEXT_XML | Costante |
public static const FILEEXT_XML:String = "xml"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: XML-based (could be HTML, XHTML, plain XML, etc.).
FORMAT_GIF | Costante |
public static const FORMAT_GIF:String = "image/gif"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: GIF content.
FORMAT_JPEG | Costante |
public static const FORMAT_JPEG:String = "image/jpeg"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPEG content.
FORMAT_JPG | Costante |
public static const FORMAT_JPG:String = "image/jpg"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPG content.
FORMAT_PLAINTEXT | Costante |
public static const FORMAT_PLAINTEXT:String = "text/plain"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Plain text content.
FORMAT_PNG | Costante |
public static const FORMAT_PNG:String = "image/png"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: PNG content.
FORMAT_RICHTEXT | Costante |
public static const FORMAT_RICHTEXT:String = "text/html"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: XHTML content.
FORMAT_XMLTEXT | Costante |
public static const FORMAT_XMLTEXT:String = "text/xml"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Flash HTML/Flex Rich Text content.
TYPE_GIF | Costante |
public static const TYPE_GIF:String = "IMAGE_GIF"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: GIF content.
TYPE_JPEG | Costante |
public static const TYPE_JPEG:String = "IMAGE_JPEG"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: JPEG content.
TYPE_PLAINTEXT | Costante |
public static const TYPE_PLAINTEXT:String = "TEXT_PLAIN"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Plain text content.
TYPE_PNG | Costante |
public static const TYPE_PNG:String = "IMAGE_PNG"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: PNG content.
TYPE_RICHTEXT | Costante |
public static const TYPE_RICHTEXT:String = "TEXT_RICH"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: XHTML content.
TYPE_XMLTEXT | Costante |
public static const TYPE_XMLTEXT:String = "TEXT_XML"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 9.5 |
Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Flash HTML/Flex Rich Text content.
Tue Jun 12 2018, 02:44 PM Z