Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebResource Members

WebResource overview

Public Instance Constructors

WebResource Constructor Creates a new instance of the WebResource class.

Public Instance Properties

BasePathPlaceHolder (inherited from AbstractResource) The special character that denotes the base (home, or root) path.
Description (inherited from FileSystemResource) Returns a description for this resource.
Exists (inherited from AbstractResource) Does this resource actually exist in physical form?
File (inherited from FileSystemResource) Returns the underlying FileInfo handle for this resource.
InputStream (inherited from FileSystemResource) 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 (inherited from FileSystemResource) Returns the Uri handle for this resource.

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 (inherited from FileSystemResource) Gets the current path of the resource.
RootLocation (inherited from FileSystemResource) Gets the root location of the resource (a drive or UNC file share name in this case).
SupportsRelativeResources (inherited from FileSystemResource) Does this IResource support relative resource retrieval?

Protected Instance Methods

CreateResourceInstance 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 The ResourceLoader to be used for resolving relative resources
Initialize (inherited from FileSystemResource) Initializes this instance.
IsRelativeResource Does the supplied resourceName relative ?
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ResolveBasePathPlaceHolder Resolves the presence of the basePathPlaceHolder value in the supplied resourceName into a path.
ResolveFileHandle Resolves the FileInfo handle for the supplied resourceName.
ResolveResourceNameWithoutProtocol (inherited from AbstractResource) Resolves the supplied resourceName to its value sans any leading protocol.
ResolveResourcePath Resolves the path for the supplied resourceName.
ResolveRootLocation Resolves the root location for the supplied resourceName.

See Also

WebResource Class | Spring.Core.IO Namespace