Updated examples
This commit is contained in:
parent
bf0c9bf1fe
commit
26f0709562
4 changed files with 43 additions and 5 deletions
|
@ -11,7 +11,10 @@ public class PropertyFileExampleMain {
|
|||
final Path path = Paths.get("version.properties");
|
||||
if (Files.exists(path)) {
|
||||
final List<String> content = Files.readAllLines(path);
|
||||
System.out.println("> cat " + path.getFileName());
|
||||
System.out.println("""
|
||||
+---------------------------+
|
||||
| version.properties |
|
||||
+---------------------------+""");
|
||||
for (final String line : content) {
|
||||
System.out.println(line);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue