12 mar 2007 kl. 07.03 skrev ashwin kumar:
hi all i am able to convert a pdf in to a text file using pdfbox.
and this
is the code that i used
{
String pdfFile=new String ("D:\\ASHWIN\\res\\ashwin.pdf");
PDDocument doc = PDDocument.load(pdfFile);
PDFTextStripper strip = new PDFTextStripper();
content = strip.getText(doc);
System.out.println(content);
}
now i want to index this text information with lucene . wat is code
required
for that pls help
You might want to start here:
<http://lucene.apache.org/java/2_1_0/api/overview-
summary.html#overview_description>
There are lots of tutorials out there. Try your favorite search engine.
--
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]