Ready to use java data types!

Filed under: swxjava — Wrote by ken on Monday, October 8th, 2007 @ 12:23 pm

TestDataTypes  Finally, SWX Java passed TestDataTypes! Listed  below are the supported Java data types and their associated ActionScript types.  SWX Java provides a BeanConverter which convert Custom JavaBean class to Map and finally ActionScript Object automatically. 

Java Type ActionScript type
java.lang.Void, void null
Custom class (JavaBean) Object
java.lang.String String
java.lang.Boolean, boolean  Boolean
java.lang.Byte, byte Number
java.lang.Short, short Number
java.lang.Integer, int Number
java.lang.Long, long Number
java.lang.Float, float Number
java.lang.Double, double Number
java.lang.Character, char String
java.util.Collection Array
java.util.Map Object
Array Array
4 Comments   -
  • Comment by Lee Sylvester | October 9, 2007 @ 5:06 am

    Hey Ken,

    This looks great, but wheres the download link? ;-)

    Lee

  • Comment by Ken | October 9, 2007 @ 8:12 pm

    > LEE

    Thank you for your comment!
    I hope download link will be appear in a few days … ;)

  • Comment by Gabriel | October 9, 2007 @ 8:47 pm

    Not sure if these links would help at all. But just thought that Java exporting SWFs has been around for a while. Maybe you can pull some logic from these.

    http://sourceforge.net/projects/javaswf/

    http://www.anotherbigidea.com/javaswf/

  • Comment by ken | October 9, 2007 @ 10:40 pm

    > GABRIEL
    Thank you for your information!!
    I knew JavaSWF before, but I didn’t know that they supports AVM2. This code will help me when I implement AVM2 support.
    Thanks!! :)

Leave your comment