Class ParserFactory

java.lang.Object
fr.paris.lutece.plugins.parser.service.ParserFactory
All Implemented Interfaces:
fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory, IParserFactory

@Deprecated public class ParserFactory extends Object implements IParserFactory
Deprecated.
See Also:
  • Constructor Details

    • ParserFactory

      public ParserFactory()
      Deprecated.
  • Method Details

    • getParser

      public Optional<IStreamParser> getParser(String strMimeType)
      Deprecated.
      Returns the optional parser matching the given MIMETYPE
      Specified by:
      getParser in interface IParserFactory
      Parameters:
      strMimeType - the mime type
      Returns:
      the optional parser
    • setParsersMap

      public void setParsersMap(Map<String,IStreamParser> mapParsers)
      Deprecated.
      Sets the parsers map
      Specified by:
      setParsersMap in interface IParserFactory
      Parameters:
      mapParsers - the parsers to manage
    • setIndexersMap

      @Deprecated public void setIndexersMap(Map<String,fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer> mapIndexers)
      Deprecated.
      Sets the indexers map
      Specified by:
      setIndexersMap in interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
      Specified by:
      setIndexersMap in interface IParserFactory
      Parameters:
      mapIndexers - the indexers to manage
    • getIndexer

      @Deprecated public fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer getIndexer(String strMimeType)
      Deprecated.
      Returns the indexer matching the given MIMETYPE
      Specified by:
      getIndexer in interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
      Specified by:
      getIndexer in interface IParserFactory
      Parameters:
      strMimeType - the mime type
      Returns:
      the index found, null otherwise.