Pakket | com.adobe.icc.enum |
Klasse | public final class MimeType |
Overerving | MimeType Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Verwante API-elementen
Methode | Gedefinieerd door | ||
---|---|---|---|
[statisch]
Converts a FILEEXT value to a TYPE value. | MimeType | ||
[statisch]
Specifies whether the format represents image content. | MimeType | ||
[statisch]
True if the format represents text content. | MimeType | ||
[statisch]
Converts a FORMAT value to a FILEEXT value. | MimeType | ||
[statisch]
Converts a FORMAT value to a TYPE value. | MimeType | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
[statisch]
Converts a TYPE value to a FORMAT value. | MimeType | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constante | Gedefinieerd door | ||
---|---|---|---|
FILEEXT_GIF : String = "gif" [statisch]
File: GIF image. | MimeType | ||
FILEEXT_JPEG : String = "jpeg" [statisch]
File: JPEG image. | MimeType | ||
FILEEXT_JPG : String = "jpg" [statisch]
File: JPG image. | MimeType | ||
FILEEXT_PNG : String = "png" [statisch]
File: PNG image. | MimeType | ||
FILEEXT_TEXT : String = "txt" [statisch]
File: Text-based (plain/unformatted text). | MimeType | ||
FILEEXT_XML : String = "xml" [statisch]
File: XML-based (could be HTML, XHTML, plain XML, etc.). | MimeType | ||
FORMAT_GIF : String = "image/gif" [statisch] Image Format: GIF content. | MimeType | ||
FORMAT_JPEG : String = "image/jpeg" [statisch] Image Format: JPEG content. | MimeType | ||
FORMAT_JPG : String = "image/jpg" [statisch] Image Format: JPG content. | MimeType | ||
FORMAT_PLAINTEXT : String = "text/plain" [statisch] Text Format: Plain text content. | MimeType | ||
FORMAT_PNG : String = "image/png" [statisch] Image Format: PNG content. | MimeType | ||
FORMAT_RICHTEXT : String = "text/html" [statisch] Text Format: XHTML content. | MimeType | ||
FORMAT_XMLTEXT : String = "text/xml" [statisch] Text Format: Flash HTML/Flex Rich Text content. | MimeType | ||
TYPE_GIF : String = "IMAGE_GIF" [statisch]
Image Type: GIF content. | MimeType | ||
TYPE_JPEG : String = "IMAGE_JPEG" [statisch]
Image Type: JPEG content. | MimeType | ||
TYPE_PLAINTEXT : String = "TEXT_PLAIN" [statisch]
Text Type: Plain text content. | MimeType | ||
TYPE_PNG : String = "IMAGE_PNG" [statisch]
Image Type: PNG content. | MimeType | ||
TYPE_RICHTEXT : String = "TEXT_RICH" [statisch]
Text Type: XHTML content. | MimeType | ||
TYPE_XMLTEXT : String = "TEXT_XML" [statisch]
Text Type: Flash HTML/Flex Rich Text content. | MimeType |
fileExtToType | () | methode |
public static function fileExtToType(fileExt:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FILEEXT value to a TYPE value. FILEXT is a file extension.
Parameters
fileExt:String — The FILEEXT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Gegenereerde uitzondering
Error — Invalid file extension.
|
formatIsImage | () | methode |
public static function formatIsImage(format:String):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public static function formatIsText(format:String):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public static function formatToFileExt(format:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a FILEEXT value. That is, a file extension.
Parameters
format:String — The FORMAT constant value to convert to a FILEEXT constant value.
|
String — Associated FILEEXT constant value.
|
Gegenereerde uitzondering
Error — Invalid format.
|
formatToType | () | methode |
public static function formatToType(format:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a FORMAT value to a TYPE value.
Parameters
format:String — The FORMAT constant value to convert to a TYPE constant value.
|
String — Associated TYPE constant value.
|
Gegenereerde uitzondering
Error — Invalid format.
|
typeToFormat | () | methode |
public static function typeToFormat(type:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Converts a TYPE value to a FORMAT value.
Parameters
type:String — The TYPE const value to convert to a FORMAT const value.
|
String — Associated FORMAT const value.
|
Gegenereerde uitzondering
Error — Invalid type.
|
FILEEXT_GIF | Constante |
public static const FILEEXT_GIF:String = "gif"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: GIF image.
FILEEXT_JPEG | Constante |
public static const FILEEXT_JPEG:String = "jpeg"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPEG image.
FILEEXT_JPG | Constante |
public static const FILEEXT_JPG:String = "jpg"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: JPG image.
FILEEXT_PNG | Constante |
public static const FILEEXT_PNG:String = "png"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: PNG image.
FILEEXT_TEXT | Constante |
public static const FILEEXT_TEXT:String = "txt"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
File: Text-based (plain/unformatted text).
FILEEXT_XML | Constante |
public static const FILEEXT_XML:String = "xml"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: GIF content.
FORMAT_JPEG | Constante |
public static const FORMAT_JPEG:String = "image/jpeg"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPEG content.
FORMAT_JPG | Constante |
public static const FORMAT_JPG:String = "image/jpg"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: JPG content.
FORMAT_PLAINTEXT | Constante |
public static const FORMAT_PLAINTEXT:String = "text/plain"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: Plain text content.
FORMAT_PNG | Constante |
public static const FORMAT_PNG:String = "image/png"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Format: PNG content.
FORMAT_RICHTEXT | Constante |
public static const FORMAT_RICHTEXT:String = "text/html"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Format: XHTML content.
FORMAT_XMLTEXT | Constante |
public static const FORMAT_XMLTEXT:String = "text/xml"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: GIF content.
TYPE_JPEG | Constante |
public static const TYPE_JPEG:String = "IMAGE_JPEG"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: JPEG content.
TYPE_PLAINTEXT | Constante |
public static const TYPE_PLAINTEXT:String = "TEXT_PLAIN"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Plain text content.
TYPE_PNG | Constante |
public static const TYPE_PNG:String = "IMAGE_PNG"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Image Type: PNG content.
TYPE_RICHTEXT | Constante |
public static const TYPE_RICHTEXT:String = "TEXT_RICH"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: XHTML content.
TYPE_XMLTEXT | Constante |
public static const TYPE_XMLTEXT:String = "TEXT_XML"
Taalversie: | ActionScript 3.0 |
Productversie: | Asset Composer Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Text Type: Flash HTML/Flex Rich Text content.
Wed Jun 13 2018, 11:42 AM Z