Interface ICodecFactory
LUCENENET specific contract for extending the functionality of Codec implementations so they can be injected with dependencies.
To set the ICodecFactory, call SetCodecFactory(ICodecFactory).
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public interface ICodecFactory
Methods
| Improve this Doc View SourceGetCodec(String)
Gets the Codec instance from the provided name
.
Declaration
Codec GetCodec(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the Codec instance to retrieve. |
Returns
Type | Description |
---|---|
Codec | The Codec instance. |