Sure...
Here I'm posting my code...

import java.io.*;
import java.lang.*;
import java.util.Vector;
import org.apache.pdfbox.pdmodel.*;
import org.apache.pdfbox.util.*;
public class myPDFStripper{

 public static void main(String[] args) throws IOException{
  PDDocument doc = null;
  try {
            doc = PDDocument.load("some.pdf");
            PDFTextStripper stripper = new PDFTextStripper("UTF-8");
            String text = stripper.getText(doc);
  } finally {
            if (doc != null) {
                doc.close();
            }
        }
 }
}



2009/11/3 Andreas Lehmkühler <andr...@lehmi.de>

> Hi,
>
>
> Omar Chiyean wrote:
>
>> Hi Andreas..
>> Thanks for your help...
>>
>> But what you wrote about running JVM with [1]
>> was not lucky..
>> I use  .level=FINEST and .level=ERROR
>> with no luck...
>> Messages keep appearing...
>>
> Hmm, there has to be still something wrong with your configuration. It
> works fine for me. BTW,  ERROR isn't a valid logging level, use SEVERE
> instead. Sorry, for that.
>
> How do you start the text extraction? Can you give us some details?
>
> BR
> Andreas Lehmkühler
>

Reply via email to