@@ -0,0 +1,1519 @@
+package weatherhandler.processor;%0A%0Aimport java.io.BufferedWriter;%0Aimport java.io.FileWriter;%0Aimport java.io.PrintWriter;%0Aimport java.io.IOException;%0Aimport java.util.List;%0A%0Aimport weatherhandler.data.Measurement;%0Aimport weatherhandler.Logger;%0A%0Apublic class TSVFileStorageProcessor implements Processor %7B%0A    private String fileName;%0A    private Logger logger = new Logger(%22TSVFileStorage%22);%0A%0A    public TSVFileStorageProcessor(String fileName) %7B%0A        this.fileName = fileName;%0A    %7D%0A%0A    private String toTSV(Measurement m) %7B%0A        return String.join(%22%5Ct%22, new String%5B%5D %7B%0A            %22%22 + m.getStation(),%0A            %22%22 + m.getDate(),%0A            %22%22 + m.getTime(),%0A            %22%22 + m.getTemperature(),%0A            %22%22 + m.getDewPoint(),%0A            %22%22 + m.getStationPressure(),%0A            %22%22 + m.getSeaLevelPressure(),%0A            %22%22 + m.getVisibility(),%0A            %22%22 + m.getWindSpeed(),%0A            %22%22 + m.getPrecipitation(),%0A            %22%22 + m.getSnowDepth(),%0A            %22%22 + m.getEvents(),%0A            %22%22 + m.getCloudCover(),%0A            %22%22 + m.getWindDirection()%0A        %7D);%0A    %7D%0A%0A    public void processMeasurements(List%3CMeasurement%3E measurements) throws ProcessorException %7B%0A        try (PrintWriter out = new PrintWriter(%0A            new BufferedWriter(%0A                new FileWriter(this.fileName, true)))) %7B%0A            for (Measurement m : measurements) %7B%0A                out.println(this.toTSV(m));%0A            %7D%0A        %7D catch (IOException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%7D%0A

Add TSV File storage processor