Interface IResourceLoader
Abstraction for loading resources (streams, files, and classes).
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
|
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 Parameters
|
Improve this Doc
View Source
OpenResource(String)
Declaration
Stream OpenResource(string resource)
Parameters
Type |
Name |
Description |
System.String |
resource |
|
Returns