What is the format of the Remap XML file for IKVM?

那年仲夏 提交于 2019-12-10 02:16:14

问题


In this article Jeroen explains an example of using an XML file to remap Java Bean getters and setters to .NET Properties.

What would the XML file look like if I wanted to, say, remap a Java method called showDialog() to ShowDialog() in .NET? Has anyone worked with the remapping option before? Any idea where to get information on how it works other than inspecting the remapper.cs source code?

Edit #1 - Found something that definitely helps a bit: the map.xml file in the OpenJDK folder seems to have the same format.

Edit #2 Ouch. 7 views in 16 hours. :-) I have officially reached the fringes of SO knowledge... ;)


回答1:


Seems you will have to use MapFileGenerator.java mentioned in the article referred ;-)

More info can be found on BeanInfo here.



来源:https://stackoverflow.com/questions/115041/what-is-the-format-of-the-remap-xml-file-for-ikvm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!