Summer.Batch.Common.IO.AbstractResource Class Referenceabstract

Base implementations for all concrete T:Summer.Batch.IO.IResource implementations. More...

Inheritance diagram for Summer.Batch.Common.IO.AbstractResource:
Summer.Batch.Common.IO.IResource Summer.Batch.Common.IO.FileSystemResource

Public Member Functions

abstract Stream GetInputStream ()
 Returns the input stream. More...
 
abstract bool Exists ()
 Test if resource exists. More...
 
virtual Uri GetUri ()
 Returns the resource uri. More...
 
virtual FileInfo GetFileInfo ()
 Returns the resource FileInfo. More...
 
abstract string GetFullPath ()
 Returns the resource full path. More...
 
abstract DateTime GetLastModified ()
 Returns the resource's last modified time. More...
 
virtual string GetFilename ()
 Returns the resource file name. More...
 
abstract string GetDescription ()
 Returns the resource description. More...
 
virtual IResource CreateRelative (string relativePath)
 Creates the resource for given relative path. More...
 
override string ToString ()
 ToString override. More...
 
override bool Equals (object obj)
 Equals override. More...
 
override int GetHashCode ()
 GetHashCode override. More...
 

Detailed Description

Base implementations for all concrete T:Summer.Batch.IO.IResource implementations.

Member Function Documentation

virtual IResource Summer.Batch.Common.IO.AbstractResource.CreateRelative ( string  relativePath)
virtual

Creates the resource for given relative path.

Parameters
relativePath
Returns

Implements Summer.Batch.Common.IO.IResource.

Reimplemented in Summer.Batch.Common.IO.FileSystemResource.

override bool Summer.Batch.Common.IO.AbstractResource.Equals ( object  obj)

Equals override.

Parameters
obj
Returns
abstract bool Summer.Batch.Common.IO.AbstractResource.Exists ( )
pure virtual

Test if resource exists.

Returns

Implements Summer.Batch.Common.IO.IResource.

Implemented in Summer.Batch.Common.IO.FileSystemResource.

abstract string Summer.Batch.Common.IO.AbstractResource.GetDescription ( )
pure virtual

Returns the resource description.

Returns

Implements Summer.Batch.Common.IO.IResource.

Implemented in Summer.Batch.Common.IO.FileSystemResource.

virtual FileInfo Summer.Batch.Common.IO.AbstractResource.GetFileInfo ( )
virtual

Returns the resource FileInfo.

Returns

Implements Summer.Batch.Common.IO.IResource.

Reimplemented in Summer.Batch.Common.IO.FileSystemResource.

virtual string Summer.Batch.Common.IO.AbstractResource.GetFilename ( )
virtual

Returns the resource file name.

Returns

Implements Summer.Batch.Common.IO.IResource.

Reimplemented in Summer.Batch.Common.IO.FileSystemResource.

abstract string Summer.Batch.Common.IO.AbstractResource.GetFullPath ( )
pure virtual

Returns the resource full path.

Returns

Implements Summer.Batch.Common.IO.IResource.

Implemented in Summer.Batch.Common.IO.FileSystemResource.

override int Summer.Batch.Common.IO.AbstractResource.GetHashCode ( )

GetHashCode override.

Returns
abstract Stream Summer.Batch.Common.IO.AbstractResource.GetInputStream ( )
pure virtual

Returns the input stream.

Returns

Implements Summer.Batch.Common.IO.IResource.

Implemented in Summer.Batch.Common.IO.FileSystemResource.

abstract DateTime Summer.Batch.Common.IO.AbstractResource.GetLastModified ( )
pure virtual

Returns the resource's last modified time.

Returns

Implements Summer.Batch.Common.IO.IResource.

Implemented in Summer.Batch.Common.IO.FileSystemResource.

virtual Uri Summer.Batch.Common.IO.AbstractResource.GetUri ( )
virtual

Returns the resource uri.

Returns

Implements Summer.Batch.Common.IO.IResource.

Reimplemented in Summer.Batch.Common.IO.FileSystemResource.

override string Summer.Batch.Common.IO.AbstractResource.ToString ( )

ToString override.

Returns

The documentation for this class was generated from the following file:
  • Summer.Batch.Common/IO/AbstractResource.cs