Re: Find version of Lucene library
On Mar 09, 2005, at 09:49, Andrzej Bialecki wrote: Besides, it doesn't work with WebStart, because the classpath is not accessible. Hmmm... would not java.lang.Package various methods do the job? Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Find version of Lucene library
On Mar 09, 2005, at 11:30, Andrzej Bialecki wrote: I'm not sure... I just tried to do Package.getPackage("org.apache.lucene") and got null, even though the manifest is present in the JAR. Packages are only defined when their underlying class has been already loaded... http://alt.textdrive.com/assets/public/docs/ java.lang.Package.cls.html#getPackage.String Why don't you do it the other way around, e.g. pick a Lucene class and ask it for its package. That works for me. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] lucene dydoc
Hello, Here is some dydoc for Lucene 1.4.3: http://alt.textdrive.com/assets/public/lucene-1.4.3/ org.apache.lucene.index.IndexWriter.cls.html The entire Lucene dydoc is available for download as well: http://alt.textdrive.com/assets/public/lucene-1.4.3.tar.gz dydoc is an alternative documentation tool for Java classes: http://alt.textdrive.com/dydoc/ Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RTF text extractor ?
On Apr 19, 2005, at 13:37, Eric Chow wrote: Is there any RTF text extractor for Lucene ? import javax.swing.text.Document; import javax.swing.text.rtf.RTFEditorKit; RTFEditorKitaKit = new RTFEditorKit(); DocumentaDocument = aKit.createDefaultDocument(); aKit.read( anInputStream, aDocument, 0 ); return aDocument.getText( 0, aDocument.getLength() ); http://dev.alt.textdrive.com/file/ZOE/Bundles/RTFTextDecoder/ RTFTextDecoder.java Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: globally unique field
On Apr 20, 2005, at 04:09, Wesley MacDonald wrote: UID consists of a unique number based on a hashcode, system time and a counter, and a VMID contains a UID and adds a SHA hash based on IP address. Hmmm... UUID? http://en.wikipedia.org/wiki/UUID http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]