Sorry: I hit send by mistake without finishing edits:
I am obviously missing something in readings the API docs: What is the method to call to get a JavaClass given I know the URL to the .class file I am trying to manipulate. I looked at all the Repository methods that are usually used to construct the JavaClass initially, and nothing seems appropriate.
How about if I had the full pathname to the .class file, would that help?
Alternately, to which method could I hand a java.IO.InputStream to get a
JavaClass in return, that I could then use.
A quick glance at the docs[1] suggests that you can do:
String url = "..."; InputStream remote_class = ...; JavaClass clazz = new ClassParser(remote_class, url).parse();
- Joe
[1] - http://jakarta.apache.org/bcel/apidocs/index.html
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
