-->

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

2020-08-13 05:35发布

问题:

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.



标签: xml ikvm