Interface IParserFactory

All Superinterfaces:
fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
All Known Implementing Classes:
ParserFactory

@Deprecated public interface IParserFactory extends fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
Deprecated.
Parser Factory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
    Bean name, to retrieve the factory from the Spring context.

    Fields inherited from interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory

    BEAN_FILE_INDEXER_FACTORY
  • Method Summary

    Modifier and Type
    Method
    Description
    default fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer
    getIndexer(String strMimeType)
    Deprecated.
    Use getParser(String) this method will be removed in the next version
    getParser(String strMimeType)
    Deprecated.
    Returns the optional parser matching the given MIMETYPE
    default void
    setIndexersMap(Map<String,fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer> mapIndexers)
    Deprecated.
    Use setParsersMap(Map) this method will be removed in the next version
    void
    Deprecated.
    Sets the parsers map
  • Field Details

    • BEAN_FILE_PARSER_FACTORY

      static final String BEAN_FILE_PARSER_FACTORY
      Deprecated.
      Bean name, to retrieve the factory from the Spring context.
      See Also:
  • Method Details

    • setParsersMap

      void setParsersMap(Map<String,IStreamParser> mapParsers)
      Deprecated.
      Sets the parsers map
      Parameters:
      mapParsers - the parsers to manage
    • getParser

      Optional<IStreamParser> getParser(String strMimeType)
      Deprecated.
      Returns the optional parser matching the given MIMETYPE
      Parameters:
      strMimeType - the mime type
      Returns:
      the optional parser
    • setIndexersMap

      @Deprecated default void setIndexersMap(Map<String,fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer> mapIndexers)
      Deprecated.
      Use setParsersMap(Map) this method will be removed in the next version
      Sets the indexers map
      Specified by:
      setIndexersMap in interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
      Parameters:
      mapIndexers - the indexers to manage
    • getIndexer

      @Deprecated default fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer getIndexer(String strMimeType)
      Deprecated.
      Use getParser(String) this method will be removed in the next version
      Returns the indexer matching the given MIMETYPE
      Specified by:
      getIndexer in interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
      Parameters:
      strMimeType - the mime type
      Returns:
      the index found, null otherwise.