From 9b912348e6e853a413ed4cab2be644df9d8f8edd Mon Sep 17 00:00:00 2001 From: Almeida-a Date: Thu, 2 Dec 2021 17:05:22 +0000 Subject: [PATCH 1/3] Introduced the goal of this fork At the first lines of the README file. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e79c313..403a6a4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +## Experimental +This repository's objective is to "play" with the capabilities of a plugin by developing sample features in order to better understand how to program a dicoogle plugin. + Dicoogle Plugin - Sample ======================== From d5b8eeaf2763ace55c96ead5effb985ddaeacfd9 Mon Sep 17 00:00:00 2001 From: Almeida-a Date: Thu, 9 Dec 2021 13:47:29 +0000 Subject: [PATCH 2/3] Fixed File.separatorChar rooted error Notes: * Not sure if it works in linux, thus the TODO * The error was an IllegalArgumentError at the URI.create, where the argument was recognized as an opaque URI, and it's content (in windows) was file:\ * This change caused the same URI to be of form: file:/// --- .../ieeta/dicoogle/plugin/sample/query/SampleQueryPlugin.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/pt/ieeta/dicoogle/plugin/sample/query/SampleQueryPlugin.java b/src/main/java/pt/ieeta/dicoogle/plugin/sample/query/SampleQueryPlugin.java index 9a628fd..5b304f8 100644 --- a/src/main/java/pt/ieeta/dicoogle/plugin/sample/query/SampleQueryPlugin.java +++ b/src/main/java/pt/ieeta/dicoogle/plugin/sample/query/SampleQueryPlugin.java @@ -62,7 +62,8 @@ private SearchResult generateSearchResult() { map.put("StudyDate", "20150120"); map.put("SeriesDate", "20150120"); - SearchResult r = new SearchResult(URI.create("file:" + File.separatorChar + UUID.randomUUID().toString()), 1, map); + // TODO check if this "///" works on linux + SearchResult r = new SearchResult(URI.create("file:///" + UUID.randomUUID().toString()), 1, map); return r; } From e4a32d59aa22c382f1201ab9a4280f965f35adbd Mon Sep 17 00:00:00 2001 From: Almeida-a Date: Thu, 9 Dec 2021 13:50:14 +0000 Subject: [PATCH 3/3] Discarded fork's readme new content --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 403a6a4..e79c313 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -## Experimental -This repository's objective is to "play" with the capabilities of a plugin by developing sample features in order to better understand how to program a dicoogle plugin. - Dicoogle Plugin - Sample ========================