Constructor FilesystemResourceLoader
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.
Declaration
public FilesystemResourceLoader()
FilesystemResourceLoader(DirectoryInfo)
Creates a resource loader that resolves resources against the given
base directory (may be null
to refer to CWD).
Files not found in file system and class lookups are delegated to context
classloader.
Declaration
public FilesystemResourceLoader(DirectoryInfo baseDirectory)
Parameters
Type | Name | Description |
---|---|---|
System.IO.DirectoryInfo | baseDirectory |
FilesystemResourceLoader(DirectoryInfo, IResourceLoader)
Creates a resource loader that resolves resources against the given
base directory (may be null
to refer to CWD).
Files not found in file system and class lookups are delegated
to the given delegate IResourceLoader.
Declaration
public FilesystemResourceLoader(DirectoryInfo baseDirectory, IResourceLoader delegate)
Parameters
Type | Name | Description |
---|---|---|
System.IO.DirectoryInfo | baseDirectory | |
IResourceLoader | delegate |