Show / Hide Table of Contents

    Interface IResourceLoader

    Abstraction for loading resources (streams, files, and classes).

    Namespace: Lucene.Net.Analysis.Util
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public interface IResourceLoader

    Methods

    | Improve this Doc View Source

    FindType(String)

    Finds class of the name

    NOTE: This was findClass() in Lucene

    Declaration
    Type FindType(string cname)
    Parameters
    Type Name Description
    System.String cname
    Returns
    Type Description
    Type
    | Improve this Doc View Source

    NewInstance<T>(String)

    Creates an instance of the name and expected type

    Declaration
    T NewInstance<T>(string cname)
    Parameters
    Type Name Description
    System.String cname
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    OpenResource(String)

    Opens a named resource

    Declaration
    Stream OpenResource(string resource)
    Parameters
    Type Name Description
    System.String resource
    Returns
    Type Description
    Stream
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)