I have a method in my API with the following signature:

    public void something (java.util.List<java.net.URI> uris)

I'm trying to figure out how to call this from Python.  I generated
the extension with --package java.util, but I can't seem to
instantiate an ArrayList:

>>> a = goodstuff.ArrayList()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ArrayList'
>>> 

In fact, when I look at what's in the docfinder package, it seems to
be missing most of the non-abstract non-interface classes from
java.util... Vector is there, but where are the other classes?
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to