From 28be7c82019e57e66b5caa9d7e9ee07b7cefbe85 Mon Sep 17 00:00:00 2001 From: Stathis Papachristou Date: Thu, 11 Jul 2024 15:25:26 +0200 Subject: [PATCH] overload constructor of TranslationUriResolver --- .../ted/eforms/viewer/util/xml/TranslationUriResolver.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/eu/europa/ted/eforms/viewer/util/xml/TranslationUriResolver.java b/src/main/java/eu/europa/ted/eforms/viewer/util/xml/TranslationUriResolver.java index 6dfe979..578b1dc 100644 --- a/src/main/java/eu/europa/ted/eforms/viewer/util/xml/TranslationUriResolver.java +++ b/src/main/java/eu/europa/ted/eforms/viewer/util/xml/TranslationUriResolver.java @@ -28,6 +28,11 @@ public TranslationUriResolver(String sdkVersion, Path sdkRoot) { this.sdkRoot = sdkRoot; } + public TranslationUriResolver(String sdkVersion, String sdkRootStr) { + this.sdkVersion = sdkVersion; + this.sdkRoot = Path.of(sdkRootStr); + } + /** * This allows to load the labels. */