Class ClasspathResourceLoader
Simple IResourceLoader that uses System.Reflection.Assembly.GetManifestResourceStream(System.String) and System.Reflection.Assembly.GetType(System.String) to open resources and System.Types, respectively.
Inheritance
System.Object
ClasspathResourceLoader
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class ClasspathResourceLoader : IResourceLoader
Constructors
Name | Description |
---|---|
ClasspathResourceLoader(Type) | Creates an instance using the System.Assembly of the given class to load Resources and classes Resource paths must be absolute. |
Methods
Name | Description |
---|---|
FindType(String) | |
NewInstance<T>(String) | |
OpenResource(String) |