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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.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 TypeMethodDescriptiondefault fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexergetIndexer(String strMimeType) Deprecated.Deprecated.Returns the optional parser matching the given MIMETYPEdefault voidsetIndexersMap(Map<String, fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer> mapIndexers) Deprecated.UsesetParsersMap(Map)this method will be removed in the next versionvoidsetParsersMap(Map<String, IStreamParser> mapParsers) Deprecated.Sets the parsers map
-
Field Details
-
BEAN_FILE_PARSER_FACTORY
Deprecated.Bean name, to retrieve the factory from the Spring context.- See Also:
-
-
Method Details
-
setParsersMap
Deprecated.Sets the parsers map- Parameters:
mapParsers- the parsers to manage
-
getParser
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.UsesetParsersMap(Map)this method will be removed in the next versionSets the indexers map- Specified by:
setIndexersMapin interfacefr.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.UsegetParser(String)this method will be removed in the next versionReturns the indexer matching the given MIMETYPE- Specified by:
getIndexerin interfacefr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory- Parameters:
strMimeType- the mime type- Returns:
- the index found,
nullotherwise.
-
getParser(String)this method will be removed in the next version