Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

FileSystemResource Members

FileSystemResource overview

Public Instance Constructors

FileSystemResource Overloaded. Initializes a new instance of the FileSystemResource 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 the underlying 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.

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 Constructors

FileSystemResource Overloaded. Initializes a new instance of the FileSystemResource 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 (a drive or UNC file share name in this case).
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
Initialize 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

FileSystemResource Class | Spring.Core.IO Namespace