Class Read

java.lang.Object
ntnu.team1.backend.persistence.Read

public class Read extends Object
Class used to read the register from a file
  • Constructor Details

    • Read

      public Read(String pathRegister)
      Constructor for class, sets the path for the register
      Parameters:
      pathRegister - Path to the serialized register file
  • Method Details

    • readRegister

      public MainRegister readRegister()
      Method for reading register from a file
      Returns:
      Returns a MainRegister