Show / Hide Table of Contents

    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 Source

    GetCodec(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.

    See Also

    DefaultCodecFactory
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)