FileHandler Class

MiniProjekt

FileHandler Class

Filehandler handles all loading and reading of files When reading the files, it will insert each line from the textfiles in their respective objects
Inheritance Hierarchy
SystemObject  MiniProjektFileHandler

Namespace:  MiniProjekt
Assembly:  MiniProjekt - Tournament (in MiniProjekt - Tournament.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
internal class FileHandler

The FileHandler type exposes the following members.

Constructors
  NameDescription
Public methodFileHandler
Constructor of FileHandler: Indicate what FileHandler will need in order to be instantiated
Top
Properties
  NameDescription
Private propertyDelimiter
FileHandler property: Is used to indicate what separates important information from the textfiles from eachother
Private propertyFileName
FileHandler property: Handles the use of the string FileName that indcates which file the Filehandler should search for.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetListFemalePlayers
Reads the textfile with FemalePlayers. Each line from the textfile indicate a new object instance of TennisPlayer
Public methodGetListFemaleReferee
Reads the textfile with Female Referees Each line from the textfile indicate a new object instnce of TennisPlayer
Public methodGetListMalePlayers
Reads the textfile with male players. Each line from the textfile indicate a new object instance of TennisPlayer
Public methodGetListMaleReferee
Reads the textfile with Male Referees Each Line from the textfile indicate a new object instance of Tennisplayer
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
See Also