串并Map.xml复杂的数据类型为IKVM! [英] String and complex data types in Map.xml for IKVM!

查看:143
本文介绍了串并Map.xml复杂的数据类型为IKVM!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用IKVM改造我的Java .jar文件到一个.NET .dll文件。 我可以创建getter和整数类型制定者的属性.. 但我不能这样做在Java的code字符串数据类型。 能否请你告诉我什么是在map.xml字符串或复杂的数据类型IKVM !!

I am using IKVM to transform my java .jar file to a .NET .dll file. I can create a property from the getter and setters of integer types .. But am not able to do so for string data type in the java code. Can you please tell me what is the format to be used in the map.xml for string or complex data type for IKVM!!

推荐答案

对于非原始类型的签名重新presentation为L+类型名称+;。这里有一个例子:

For non-primitive types the signature representation is "L" + type name + ";". Here's an example:

   <property name="Foo" sig="()Ljava.lang.String;">
     <getter name="getFoo" sig="()Ljava.lang.String;" />
     <setter name="setFoo" sig="(Ljava.lang.String;)V" />
   </property>

有关数组类型,preFIX元素类型签名重新presentation带有[。

For an array type, prefix the element type signature representation with "[".

这篇关于串并Map.xml复杂的数据类型为IKVM!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆