Class FileReporter

    • Constructor Detail

      • FileReporter

        public FileReporter()
    • Method Detail

      • init

        public void init​(String file)
                  throws IOException
        Initialize a file reporter from a file
        Parameters:
        file - The name of the file to read from
        Throws:
        IOException - when the corresponding file can not be opened or be read from
      • getData

        public List<Integer> getData​(String key)
        Get the data currently assigned to a given key
        Parameters:
        key - The key for which the data should be given
        Returns:
        list of data for the given key
      • showPanel

        public void showPanel()
        Show main panel with length, graph, and stats.