Collada to m3g conversion

Hi,
I have to convert COLLADA (3Dfiles) file to m3g file format in order to play those file in j2me using JSR 184. i have several COLLADA file asset and have use those.

The idea is to take one or multiple collada and convert it into m3g files.

Please suggest me how i can do this? Its like i want to develop a tool which takes multiple collada file as input and generate m3g files.

i would also like to get some sample collada file and if someone can help me understanding in the conversion process please.

Thanks in advance.

Manish