PositionedInputStream methods obfuscated

User c8c126404b

15-11-2005 11:26:08

Hi.





I downlaoded the latest 4.0.3 release of the Marviv package. I have a custom import module which exetnds MolImport and makes calls to MolInputStream.getFilePointer() and readLine(). In the current release those methods are no longer there. Seems that they are obfuscated. There is no javadoc for PositionedInputStream (where those methods come from). On the other hand, the MarvinBean package has a version of PositionedInputStream with all methods accessible. Is it ok to use that one? Which other classes I have to copy?





Regards,


Plamen

ChemAxon 7c2d26e5cf

15-11-2005 15:39:36

Dear Plamen,


You are right. MolInputStream has changed. Now, MolImporter extends PositionInputStream. It means that a few methods are moved into the parent class.


PositionInputStream misses from the APIDOC. we will complete it.


There is an obfuscation bug in PositionInputStream. The method of this class are obfuscated in the current release. I will fix it to preserver their names.


Marvin Beans bases on the same code than Marvin Applets. But i do not recommend to mix their codes because:


1. Marvin Applets and Marvin Beans have compiled with different Java versions.


2. The classes of Marvin Applets are obfuscated in contrast with Marvin Beans.





Normally, the applet users use the Marvin Applets API only from JavaScript (calling methods of JMSketch, JMView, MSketch and MView). MolImputStream is generally used from Marvin Beans.





You don't have to copy anything. I will send you a test release if the above bugs are fixed.

ChemAxon 7c2d26e5cf

15-11-2005 17:23:08

I have built quickly a new pre-release where PositionInputStream is not obfuscated.


Marvin Beans package:


http://www.chemaxon.com/download.php?d=/data/download/marvin/test/marvinbeans-4.0.4pre1.zip


Marvin Applets:


- All package: http://www.chemaxon.com/download.php?d=/data/download/marvin/test/marvin-all-4.0.3.zip


- Binaries package: http://www.chemaxon.com/download.php?d=/data/download/marvin/test/marvin-bin-4.0.3.zip

User c8c126404b

16-11-2005 07:57:29

Thanks Tamas for your quick response!


I actually need the Applets package, not the beans... Our application uses the MView applet more or less "out-of-the-box". The only extra we add is our custom import module which reads MDL Chime strings and converts them to MOLs.


Plamen

ChemAxon 7c2d26e5cf

16-11-2005 16:18:04

Thanks for the infos. Now, I already understand why you need the Marvin Applets' API.