PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
PreEmptive.Analytics.Common.IOfflineStorageManager Interface Reference

Interface for defining an offline storage manager More...

Inherits IDisposable.

Public Member Functions

void MoveFile (string origin, string destination)
 Moves a file from one location to another. More...
 
IEnumerable< string > GetFilesEndingWith (string suffix, string contains="")
 Finds files in the offline data store. More...
 
void DeleteFile (string filename)
 Deletes a file from offline storage. More...
 
void WriteToFile (string filename, string text)
 Writes a file to offline storage. More...
 
string ReadFile (string filename)
 Retrieves the content of the specified file. More...
 

Detailed Description

Interface for defining an offline storage manager

Member Function Documentation

void PreEmptive.Analytics.Common.IOfflineStorageManager.DeleteFile ( string  filename)

Deletes a file from offline storage.

Parameters
filenameThe name of the file to delete.
IEnumerable<string> PreEmptive.Analytics.Common.IOfflineStorageManager.GetFilesEndingWith ( string  suffix,
string  contains = "" 
)

Finds files in the offline data store.

Parameters
suffixThe string that the file name must end with
containsAn optional string that must also appear in the file name.
Returns
Filenames that end with the specified suffix and contains the required string.
void PreEmptive.Analytics.Common.IOfflineStorageManager.MoveFile ( string  origin,
string  destination 
)

Moves a file from one location to another.

Parameters
originThe file being moved.
destinationThe new location of the file.
string PreEmptive.Analytics.Common.IOfflineStorageManager.ReadFile ( string  filename)

Retrieves the content of the specified file.

Parameters
filenameThe name of the file.
Returns
The content of the file.
void PreEmptive.Analytics.Common.IOfflineStorageManager.WriteToFile ( string  filename,
string  text 
)

Writes a file to offline storage.

Parameters
filenameThe name of the file.
textThe content to write to the file.

The documentation for this interface was generated from the following file: