From 528185db53cfa561b0469ed05a0c6c774e2690b6 Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 07 Nov 2024 09:03:13 +0000 Subject: [PATCH] Konstanten hinzugefuegt --- src/de/uhilger/neon/image/ImageWorker.java | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/de/uhilger/neon/image/ImageWorker.java b/src/de/uhilger/neon/image/ImageWorker.java index 0f2ef17..d5080cb 100644 --- a/src/de/uhilger/neon/image/ImageWorker.java +++ b/src/de/uhilger/neon/image/ImageWorker.java @@ -42,17 +42,17 @@ /** * Diese String-Konstanten noetigenfalls in eine Konfigurationsdatei auslagern */ - private final String TN = "_tn"; // 120 - private final String KL = "_kl"; // 240 - private final String SM = "_sm"; // 500 - private final String MT = "_mt"; // 700 - private final String GR = "_gr"; // 1200 + public static final String TN = "_tn"; // 120 + public static final String KL = "_kl"; // 240 + public static final String SM = "_sm"; // 500 + public static final String MT = "_mt"; // 700 + public static final String GR = "_gr"; // 1200 - private final String B64 = "_b64"; // Base64-Encoded + public static final String B64 = "_b64"; // Base64-Encoded - //public static final String JPG = ".jpg"; - //public static final String JPEG = ".jpeg"; - //public static final String PNG = ".png"; + public static final String JPG = ".jpg"; + public static final String JPEG = ".jpeg"; + public static final String PNG = ".png"; public void createImages(String baseDir, String fName, String uriStr) throws IOException { //if(uriStr.endsWith(ImageWorker.JPG) || uriStr.endsWith(ImageWorker.JPEG) || uriStr.endsWith(ImageWorker.PNG)) { -- Gitblit v1.9.3