thank you ! i saw the example there, Anyway, where can i find a precompiled version of the libraries I have to use?
On Fri, 2008-03-28 at 20:03 -0600, Christian Grothoff wrote: > Read the source code of the "Xtract" file, that's a minimal example for using > the Java binding (at > https://gnunet.org/svn/Extractor-java/org/gnunet/libextractor/Xtract.java). > Make sure to set your library paths (under UNIX: LD_LIBRARY_PATH environment > variable) correctly to find the LE JNI C plugin library. > > As indicated by the fact that the "Extractor" constructor is marked > *private*, > you should never call it directly. You will NOT be able to supply a > correct "int" value to the constructor, only the native code can do that. > Use the various static methods (not "new") to create an Extractor instance. > > Best, > > Christian > > On Friday 28 March 2008, Miguel wrote: > > I have tried to make a really small program to find the meta-data of > > different files but I dont know where can I get the manual for the java > > binding. Does anybody know where can I get it? > > > > I m testing it with a really dummy program: > > > > public static void main(String [ ] args) > > { > > Extractor ext = new Extractor(int); > > ArrayList al = > > ext.extract("/home/mcm/ecar_mejorado/extractor/media/adamo.mp3"); > > System.out.println(" adamo.mp3: " + al.toString()); > > > > > > } > > > > where int is an integer number linked to plugins but I dont understand > > how does it work ... > > I m working on an ubutu gusty, and I have installed the following > > packages: > > > > ii libextractor-java0 0.5.6-3 > > Java bindings for GNU libextractor > > ii libextractor-plugins 0.5.18-3 > > extracts meta-data from files of arbitrary type (plugi > > ii libextractor1c2a 0.5.18-3 > > extracts meta-data from files of arbitrary type (libra > > > > > > any Ideas? > > > > thank you in advance, > > > > Mike > > >
_______________________________________________ GNUnet-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnunet-developers
