How to get the field Value from SDF file?

User a83cdfbe8a

15-02-2012 11:49:15

I have a SDF file ,I want to get the field Value use java,what shoul I do?


as attachment:I want to get 'test'.


 Thanks.

ChemAxon 044c6721bc

15-02-2012 12:31:16

Hi!


After you import the molecule (m):


String s = MPropHandler.convertToString(m.properties().get("Name"),null);


I hope it helps.


Janos