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.
- See Also:
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory
BEAN_FILE_INDEXER_FACTORYFields inherited from interface fr.paris.lutece.plugins.parser.service.IParserFactory
BEAN_FILE_PARSER_FACTORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.plugins.lucene.service.indexer.IFileIndexergetIndexer(String strMimeType) Deprecated.Deprecated.Returns the optional parser matching the given MIMETYPEvoidsetIndexersMap(Map<String, fr.paris.lutece.plugins.lucene.service.indexer.IFileIndexer> mapIndexers) Deprecated.voidsetParsersMap(Map<String, IStreamParser> mapParsers) Deprecated.Sets the parsers map
-
Constructor Details
-
ParserFactory
public ParserFactory()Deprecated.
-
-
Method Details
-
getParser
Deprecated.Returns the optional parser matching the given MIMETYPE- Specified by:
getParserin interfaceIParserFactory- Parameters:
strMimeType- the mime type- Returns:
- the optional parser
-
setParsersMap
Deprecated.Sets the parsers map- Specified by:
setParsersMapin interfaceIParserFactory- 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:
setIndexersMapin interfacefr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory- Specified by:
setIndexersMapin interfaceIParserFactory- 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:
getIndexerin interfacefr.paris.lutece.plugins.lucene.service.indexer.IFileIndexerFactory- Specified by:
getIndexerin interfaceIParserFactory- Parameters:
strMimeType- the mime type- Returns:
- the index found,
nullotherwise.
-
TikaAutoDetectParser.