From 669bffab4dac5ea07fbf5f00451606896b353213 Mon Sep 17 00:00:00 2001 From: kurth4cker Date: Tue, 21 May 2024 19:42:00 +0300 Subject: [PATCH] kthr.Property: new class --- src/kthr/Property.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/kthr/Property.java diff --git a/src/kthr/Property.java b/src/kthr/Property.java new file mode 100644 index 0000000..6fe59a4 --- /dev/null +++ b/src/kthr/Property.java @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2024 kurth4cker + +package kthr; + +final class Property { + public static void print(String property) + { + System.out.printf("%s = %s", property, System.getProperty(property)); + } + + public static void println(String property) + { + print(property); + System.out.println(); + } +} -- 2.45.2