This commit is contained in:
2024-09-30 18:17:21 +02:00
parent 483d40da91
commit 9a1615c1ea
14 changed files with 107 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
package P6;
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
@@ -14,6 +15,7 @@ public class Praktikum {
var time = java.time.LocalDateTime.now();
Path p = Paths.get(home, "java-text.tmp");
try {
if (Files.exists(p))
Files.delete(p);