?
=?iso-8859-1?q?Jean-S=E9bastien_Goupil?=
Hi,
I'm currently using Java5 and SAX Builder to read an XML file and load
dynamically by reflection classes from my packages.
The code tries to load each class represented by a tag, but if the
class doesn't exist, it tries to use the tag as a String member in the
previous loaded class.
The problem is that if the class represented by a tag doesn't exist,
Java will try to connect to the current website and ask for the class
file in the current working directory. I would like to prevent this
access because it takes a lot of time to parse a big XML file.
So, when the class is not found in the current package, I don't want
Java checks the server. Is there a way to do that?
Thank you very much
I'm currently using Java5 and SAX Builder to read an XML file and load
dynamically by reflection classes from my packages.
The code tries to load each class represented by a tag, but if the
class doesn't exist, it tries to use the tag as a String member in the
previous loaded class.
The problem is that if the class represented by a tag doesn't exist,
Java will try to connect to the current website and ask for the class
file in the current working directory. I would like to prevent this
access because it takes a lot of time to parse a big XML file.
So, when the class is not found in the current package, I don't want
Java checks the server. Is there a way to do that?
Thank you very much