Class EmailCache

    • Method Detail

      • getFile

        public File getFile()
      • read

        public void read()
                  throws IOException
        Reads all data from file
        Throws:
        IOException - unable to read the cache file
      • write

        public void write()
                   throws IOException
        Writes all entries into the file
        Throws:
        IOException - unable to write the cache file
      • append

        public void append()
                    throws IOException
        Appends the last entry to the file
        Throws:
        IOException - error writing the CSV file
      • put

        public void put​(String mailID)