Package ntnu.team1.backend.persistence
Class Read
java.lang.Object
ntnu.team1.backend.persistence.Read
Class used to read the register from a file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod for reading register from a file
-
Constructor Details
-
Read
Constructor for class, sets the path for the register- Parameters:
pathRegister
- Path to the serialized register file
-
-
Method Details
-
readRegister
Method for reading register from a file- Returns:
- Returns a MainRegister
-