달력

4

« 2024/4 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
2008. 11. 21. 13:05

[FLEX] Action Script <-> Java 변환 데이터 타입 Enjoy/FLEX2008. 11. 21. 13:05


출처 :  http://cafe.naver.com/flexcomponent/3877
          http://thlife.net/category/ria/flex?page=51
        

 

ActionScript -> Java 변환 데이터 타입
Actionscript에서 자바 클래스 호출시 자동으로 변환되는 데이터 타입니다.

ActionScript type(AMF3) Deserialization to Java
Array (dense) java.util.List
Array (sparse) java.util.Map

Boolean
String of "true" 
or
"false"

java.lang.Boolea
flash.utils.ByteArray byte []
flash.utils.IExternalizable java.io.Externalizable
Date
java.util.Date
(formatted for
Coordinated Universal
Time (UTC))
int/uint java.lang.Integer
number java.lang.Double
Object (generic) java.util.Map
typed Object
typed Object
when you use
[RemoteClass] metadata
that specifies remote
classname. Bean type
must have a public no
args constructor
undefined null
XML org.w3c.dom.Document
XMLDocument
(legacy XML type)
org.w3c.dom.Document

Java -> ActionScript 변환 데이터 타입
자바 클래스에서 ActionScript 변환시 자동으로 변환 되는 데이터 타입입니다.

Java type ActionScript type (AMF 3)
java.lang.String String
java.lang.Boolean, boolean Boolean
java.lang.Integer
int
If i < 0xF0000000 || i > 0x0FFFFFFF, the value
is promoted to Number.
java.lang.Short
int
If i < 0xF0000000 || i > 0x0FFFFFFF, the value
is promoted to Number.
java.lang.Byte
int
If i < 0xF0000000 || i > 0x0FFFFFFF, the value
is promoted to Number.
java.lang.Byte[]
flash.utils.ByteArray
java.lang.Double Number
java.lang.Long Number
java.lang.Float Number
java.lang.Character String
java.lang.Character[] String
java.util.Calendar
Date
Dates are sent in the Coordinated Universal
Time (UTC) time zone. Clients and servers must
adjust time accordingly for time zones.
java.util.Date
Da

:
Posted by 라면스프