패키지 | 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, 03:17 PM Z