I am trying to create a report for which I am shown with a syntax error
"The constructor PrintWriter(BufferedWriter) is undefined".
for :
new PrintWriter(new BufferedWriter(new FileWriter(new File(OUT_FOLDER, "emailable-test-run-report.html"))));
I am using JDK 1.7
Can someone please guide me through this. Thanks!
I had a similar issue - for clarity, you need the following lines at the top of your sketch:
import java.io.BufferedWriter;
import java.io.FileWriter;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With