Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UrlResource Members

UrlResource overview

Public Instance Constructors

UrlResource Constructor Creates a new instance of the UrlResource class.

Public Instance Properties

BasePathPlaceHolder (inherited from AbstractResource) The special character that denotes the base (home, or root) path.
Description Returns a description for this resource.
Exists (inherited from AbstractResource) Does this resource actually exist in physical form?
File Returns a FileInfo handle for this resource.
InputStream Return an Stream for this resource.
IsOpen (inherited from AbstractResource) Does this resource represent a handle with an open stream?
Protocol (inherited from AbstractResource) Returns the protocol associated with this resource (if any).
Uri Returns the Uri handle for this resource.
WebRequest Returns the WebRequest instance used for the resource resolution.

Public Instance Methods

CreateRelative (inherited from AbstractResource) Creates a new resource that is relative to this resource based on the supplied resourceName.
Equals (inherited from AbstractResource) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from AbstractResource) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from AbstractResource) This implementation returns the Description of this resource.

Protected Instance Properties

PathSeparatorChars Gets those characters that are valid path separators for the resource type.
ResourcePath Gets the current path of the resource.
RootLocation Gets the root location of the resource.
SupportsRelativeResources Does this IResource support relative resource retrieval?

Protected Instance Methods

CreateResourceInstance (inherited from AbstractResource) Factory Method. Create a new instance of the current resource type using the given resourceName
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetResourceLoader (inherited from AbstractResource) The ResourceLoader to be used for resolving relative resources
IsRelativeResource Does the supplied resourceName relative ?
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ResolveBasePathPlaceHolder (inherited from AbstractResource) Resolves the presence of the basePathPlaceHolder value in the supplied resourceName into a path.
ResolveResourceNameWithoutProtocol (inherited from AbstractResource) Resolves the supplied resourceName to its value sans any leading protocol.

See Also

UrlResource Class | Spring.Core.IO Namespace | IResource | IResourceLoader | ConfigurableResourceLoader