Class PdfFileParser

java.lang.Object
fr.paris.lutece.plugins.parser.service.PdfFileParser
All Implemented Interfaces:
fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer, IStreamParser

@Deprecated public class PdfFileParser extends Object implements IStreamParser
Deprecated.
This parser is deprecated in favor of TikaAutoDetectParser which provides universal format detection and parsing. TikaAutoDetectParser handles PDF and all other formats automatically, simplifying the architecture and reducing maintenance overhead. This class is kept for backward compatibility but will be removed in a future version.
PdfFileParser parse PDF files using PDFBox library directly.
  • Constructor Details

    • PdfFileParser

      public PdfFileParser()
      Deprecated.
  • Method Details

    • parse

      public String parse(InputStream is)
      Deprecated.
      Parse the inputStream content.
      Specified by:
      parse in interface IStreamParser
      Parameters:
      is - input stream.
      Returns:
      the content parsed