C# Class Encog.Persist.Location.FilePersistence

A persistence location based on a file.
Inheritance: IPersistenceLocation
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
CreateStream ( FileMode mode ) : Stream

Create a stream to a access the file.

Delete ( ) : void

Attempt to delete the file.

Exists ( ) : bool

Does the file exist?

FilePersistence ( String file ) : System

Construct a persistance location based on a file.

RenameTo ( IPersistenceLocation toLocation ) : void

Rename this file to a different location.

Method Details

CreateStream() public méthode

Create a stream to a access the file.
public CreateStream ( FileMode mode ) : Stream
mode FileMode
Résultat Stream

Delete() public méthode

Attempt to delete the file.
public Delete ( ) : void
Résultat void

Exists() public méthode

Does the file exist?
public Exists ( ) : bool
Résultat bool

FilePersistence() public méthode

Construct a persistance location based on a file.
public FilePersistence ( String file ) : System
file String The file to use.
Résultat System

RenameTo() public méthode

Rename this file to a different location.
public RenameTo ( IPersistenceLocation toLocation ) : void
toLocation IPersistenceLocation What to rename to.
Résultat void