adding dashbord

This commit is contained in:
2023-02-26 08:18:53 +01:00
parent eb9904a30b
commit a2945d2d9b
44 changed files with 928 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
package org.lucares.utils.file;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
@@ -76,4 +77,12 @@ public class FileUtils {
return files.collect(Collectors.toList());
}
}
public static String readSilent(final Path p) {
try {
return Files.readString(p, StandardCharsets.UTF_8);
} catch (final IOException e) {
throw new RuntimeException(e);
}
}
}