Class ClasspathResourceLoader
Simple IResourceLoader that uses
and to open resources and
s, respectively.
Inheritance
System.Object
ClasspathResourceLoader
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class ClasspathResourceLoader : object, IResourceLoader
Constructors
|
Improve this Doc
View Source
ClasspathResourceLoader(Type)
Creates an instance using the System.Assembly of the given class to load Resources and classes
Resource paths must be absolute.
Declaration
public ClasspathResourceLoader(Type clazz)
Parameters
Type |
Name |
Description |
Type |
clazz |
|
Methods
|
Improve this Doc
View Source
FindType(String)
Declaration
public Type FindType(string cname)
Parameters
Type |
Name |
Description |
System.String |
cname |
|
Returns
|
Improve this Doc
View Source
NewInstance<T>(String)
Declaration
public T NewInstance<T>(string cname)
Parameters
Type |
Name |
Description |
System.String |
cname |
|
Returns
Type Parameters
|
Improve this Doc
View Source
OpenResource(String)
Declaration
public Stream OpenResource(string resource)
Parameters
Type |
Name |
Description |
System.String |
resource |
|
Returns
Implements