Class FilesystemResourceLoader
Simple IResourceLoader that opens resource files from the local file system, optionally resolving against a base directory.
This loader wraps a delegate IResourceLoader that is used to resolve all files, the current base directory does not contain. NewInstance<T>(String) is always resolved against the delegate, as an System.Assembly is needed.
You can chain several FilesystemResourceLoaders to allow lookup of files in more than one base directory.
Inheritance
Inherited Members
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class FilesystemResourceLoader : IResourceLoader
Constructors
Name | Description |
---|---|
FilesystemResourceLoader() | Creates a resource loader that requires absolute filenames or relative to CWD to resolve resources. Files not found in file system and class lookups are delegated to context classloader. |
FilesystemResourceLoader(DirectoryInfo) | Creates a resource loader that resolves resources against the given
base directory (may be |
FilesystemResourceLoader(DirectoryInfo, IResourceLoader) | Creates a resource loader that resolves resources against the given
base directory (may be |
Methods
Name | Description |
---|---|
FindType(String) | |
NewInstance<T>(String) | |
OpenResource(String) |