Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private Path saveHtml(String table) throws FileNotFoundException, IOException {
- Path htmlFile = Files.createTempFile("previa", ".html");
- BufferedWriter bw = Files.newBufferedWriter(htmlFile);
- bw.write(table);
- bw.newLine();
- return htmlFile;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement