Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractResource Members

AbstractResource overview

Protected Static (Shared) Fields

DefaultBasePathPlaceHolder The default special character that denotes the base (home, or root) path.

Protected Static (Shared) Methods

GetResourceNameWithoutProtocol Strips any protocol name from the supplied resourceName.

Public Instance Properties

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

Public Instance Methods

CreateRelative Creates a new resource that is relative to this resource based on the supplied resourceName.
Equals Determines whether the specified Object is equal to the current Object.
GetHashCode 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 This implementation returns the Description of this resource.

Protected Instance Constructors

AbstractResource Overloaded. Initializes a new instance of the AbstractResource class.

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 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
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.
ResolveResourceNameWithoutProtocol Resolves the supplied resourceName to its value sans any leading protocol.

See Also

AbstractResource Class | Spring.Core.IO Namespace | IResource