|Visual Basic (Declaration)|
Public Class ConfigurableResourceLoader Implements IResourceLoader
|Visual Basic (Usage)||Copy Code|
public class ConfigurableResourceLoader : IResourceLoader
This Spring.Core.IO.IResourceLoader implementation supports the configuration of resource access protocols and the corresponding .NET types that know how to handle those protocols.
Basic protocol-to-resource type mappings are also defined by this class, while others can be added either internally, by application contexts extending this class, or externally, by the end user configuring the context.
Only one resource type can be defined for each protocol, but multiple protocols can map to the same resource type (for example, the
"ftp" protocols both map to the UrlResource type. The protocols that are mapped by default can be found in the following list.
assembly config file http https
Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7
Assembly: Spring.Core (in Spring.Core.dll)