From 97649d73eb34c60ad36fe5df53b7658b8344ba81 Mon Sep 17 00:00:00 2001 From: kotama Date: Sun, 4 Oct 2026 17:04:38 +0200 Subject: [PATCH] 0.0.1.6bis --- .metadata/.lock_info | 2 +- .metadata/.log | 552 +++ .../15/405bb4215dac00111450c012ccd5345a | 44 - .../18/20fa1dd3e8a900111a85cda54c550706 | 45 - .../19/c043650f18a90011182fc3eab58d65be | 94 - .../21/a059b80507ad00111c90b3cc3652d2d3 | 44 - .../22/5024eaf65aac00111450c012ccd5345a | 44 - .../27/90bcb4b454ac00111450c012ccd5345a | 49 - .../2b/60a61b900cad00111c90b3cc3652d2d3 | 44 - .../2b/e04613f012ac00111663a416dae60ac7 | 42 - .../32/401a75e311ac00111663a416dae60ac7 | 35 - .../39/f0eb149912ac00111663a416dae60ac7 | 40 - .../3c/7051b11f6fab0011163bc5228b28d1d0 | 5 - .../3f/30b8798d23a90011182fc3eab58d65be | 94 - .../40/101e9d0e13ac00111663a416dae60ac7 | 42 - .../41/f0993a7954ac00111450c012ccd5345a | 49 - .../42/c00794f417a90011182fc3eab58d65be | 94 - .../42/e0a6e71f73ab0011163bc5228b28d1d0 | 28 - .../44/d0420dfd18a90011182fc3eab58d65be | 105 - .../47/e0cd01b470ab0011163bc5228b28d1d0 | 14 - .../4b/8043819c70ab0011163bc5228b28d1d0 | 11 - .../4e/f038116618a90011182fc3eab58d65be | 94 - .../52/c029f0c872ab0011163bc5228b28d1d0 | 28 - .../53/6023f29013ac00111663a416dae60ac7 | 47 - .../53/60540e2c15a90011182fc3eab58d65be | 50 - .../53/90f11e4c55ac00111450c012ccd5345a | 45 - .../59/10931aa214ac00111663a416dae60ac7 | 47 - .../5a/c0871b5717a90011182fc3eab58d65be | 0 .../5b/b0f4240673ab0011163bc5228b28d1d0 | 29 - .../6/603b27b66fab0011163bc5228b28d1d0 | 12 - .../6/606131b275ab0011163bc5228b28d1d0 | 45 - .../66/50502fe707ad00111c90b3cc3652d2d3 | 45 - .../66/e0da330f15a90011182fc3eab58d65be | 45 - .../6c/a07e4c9a6fab0011163bc5228b28d1d0 | 5 - .../70/f01b798d23a90011182fc3eab58d65be | 5 - .../73/f0ba830318a90011182fc3eab58d65be | 94 - .../76/90e6fa3870ab0011163bc5228b28d1d0 | 9 - .../76/b09ff04519a90011182fc3eab58d65be | 127 - .../78/40fe34f872ab0011163bc5228b28d1d0 | 23 - .../7b/306207b014a90011182fc3eab58d65be | 45 - .../7d/8008bb4672ab0011163bc5228b28d1d0 | 31 - .../7d/c075c3f717a90011182fc3eab58d65be | 94 - .../8/0035006a0bad00111c90b3cc3652d2d3 | 44 - .../8/e02874c310ac00111663a416dae60ac7 | 31 - .../8/e0f0bf535dac00111450c012ccd5345a | 44 - .../80/a0fcacd1f6a90011142ed1e6ed3e792d | 5 - .../81/0030164854ac00111450c012ccd5345a | 49 - .../86/60397b9018a90011182fc3eab58d65be | 94 - .../86/80864e9b18a90011182fc3eab58d65be | 105 - .../88/a07194e872ab0011163bc5228b28d1d0 | 28 - .../8a/6075ed6f09ad00111c90b3cc3652d2d3 | 44 - .../8c/80aece3deba900111a85cda54c550706 | 51 - .../90/e017133a71ab0011163bc5228b28d1d0 | 24 - .../92/c0e148b45cac00111450c012ccd5345a | 44 - .../98/2060069f12ac00111663a416dae60ac7 | 40 - .../98/400969dc0cad00111c90b3cc3652d2d3 | 44 - .../99/b0c3c14a72ab0011163bc5228b28d1d0 | 28 - .../a/a09eef8713ac00111663a416dae60ac7 | 47 - .../ae/c06b1d0c18a90011182fc3eab58d65be | 94 - .../af/c0c2dbba6fab0011163bc5228b28d1d0 | 12 - .../b/0072fb2f13ac00111663a416dae60ac7 | 45 - .../b/c09a280c07ad00111c90b3cc3652d2d3 | 45 - .../b/e0fef37954ac00111450c012ccd5345a | 49 - .../b2/5006d8ef17a90011182fc3eab58d65be | 80 - .../b4/10835d2771ab0011163bc5228b28d1d0 | 16 - .../b5/007c70d907ad00111c90b3cc3652d2d3 | 44 - .../b9/e0fc094b0aad00111c90b3cc3652d2d3 | 44 - .../bb/7026230411ac00111663a416dae60ac7 | 33 - .../bd/10878f41eba900111a85cda54c550706 | 50 - .../bd/7006918e56ac00111450c012ccd5345a | 47 - .../c8/30a865ec12ac00111663a416dae60ac7 | 40 - .../c8/a0e8abd707ad00111c90b3cc3652d2d3 | 50 - .../c9/002b02a759ac00111450c012ccd5345a | 44 - .../c9/f04ce75b12ac00111663a416dae60ac7 | 37 - .../ca/60a86a7909ad00111c90b3cc3652d2d3 | 44 - .../d/10baee1113ac00111663a416dae60ac7 | 45 - .../d1/30e436e571ab0011163bc5228b28d1d0 | 25 - .../d5/b0b34c3aeba900111a85cda54c550706 | 45 - .../da/00124e545bac00111450c012ccd5345a | 43 - .../da/401c957218a90011182fc3eab58d65be | 94 - .../db/1037e20073ab0011163bc5228b28d1d0 | 28 - .../dc/908703fb72ab0011163bc5228b28d1d0 | 22 - .../dd/00dd72ba5aac00111450c012ccd5345a | 45 - .../dd/20be97f572ab0011163bc5228b28d1d0 | 28 - .../e0/b0ee14e35aac00111450c012ccd5345a | 44 - .../e1/108e942df8a90011142ed1e6ed3e792d | 0 .../e4/d058f25f5dac00111450c012ccd5345a | 44 - .../e6/10f2bac707ad00111c90b3cc3652d2d3 | 49 - .../e9/70dd26205dac00111450c012ccd5345a | 44 - .../f6/30b29f5754ac00111450c012ccd5345a | 49 - .../f9/a0ca195554ac00111450c012ccd5345a | 49 - .../f9/c020c5b375ab0011163bc5228b28d1d0 | 28 - .../fa/005dc4e111ac00111663a416dae60ac7 | 33 - .../fb/705067f15aac00111450c012ccd5345a | 44 - .../fc/40b1b1b05cac00111450c012ccd5345a | 44 - .../fd/c06d9ad507ad00111c90b3cc3652d2d3 | 49 - .../.org.eclipse.egit.core.cmp/.markers.snap | Bin 96 -> 0 bytes .../.org.eclipse.egit.core.cmp/.syncinfo.snap | Bin 96 -> 0 bytes .../.indexes/e4/e4/90/40/d6/history.index | Bin 717 -> 0 bytes .../.indexes/e4/e4/90/40/history.index | Bin 495 -> 0 bytes .../.indexes/e4/e4/90/7e/history.index | Bin 363 -> 0 bytes .../.indexes/e4/e4/90/e8/history.index | Bin 1007 -> 0 bytes .../.projects/SillyJirafe.org/.markers | Bin 1849 -> 4766 bytes .../.projects/SillyJirafe.org/.markers.snap | Bin 2308 -> 0 bytes .../.projects/SillyJirafe.org/.syncinfo.snap | Bin 96 -> 0 bytes .../org.eclipse.jdt.core/state.dat | Bin 0 -> 1841 bytes .../sillyjirafe.org.api/.markers.snap | Bin 96 -> 0 bytes .../sillyjirafe.org.api/.syncinfo.snap | Bin 96 -> 0 bytes .../.root/.markers.snap | Bin 123 -> 0 bytes .../org.eclipse.core.resources/.root/25.tree | Bin 4443 -> 0 bytes .../org.eclipse.core.resources/.root/37.tree | Bin 0 -> 4312 bytes .../.safetable/org.eclipse.core.resources | Bin 1313 -> 920 bytes .../org.eclipse.core.resources/25.snap | Bin 2734 -> 0 bytes .../.settings/org.eclipse.debug.ui.prefs | 17 - .../.settings/org.eclipse.jdt.ui.prefs | 148 - .../.settings/org.eclipse.ui.ide.prefs | 2 +- .../org.eclipse.e4.workbench/workbench.xmi | 3416 ++++++++--------- .../org.eclipse.jdt.core/1865797976.index | Bin 2861562 -> 2861571 bytes .../org.eclipse.jdt.core/206920101.index | Bin 12076 -> 12129 bytes .../org.eclipse.jdt.ui/dialog_settings.xml | 10 +- .../org.eclipse.jdt.ui/jdt-images/0.png | Bin 817 -> 0 bytes .../org.eclipse.jdt.ui/jdt-images/1.png | Bin 1535 -> 0 bytes .../.plugins/org.eclipse.m2e.logback/0.log | 12 + .metadata/version.ini | 2 +- .../bin/org/sillyjirafe/uoapi/Api.class | Bin 356 -> 374 bytes .../bin/org/sillyjirafe/uoapi/Caller.class | Bin 2051 -> 2124 bytes .../bin/org/sillyjirafe/uoapi/Out.class | Bin 2798 -> 2117 bytes .../uoapi/binds/GitHubApacheApi.class | Bin 2842 -> 3118 bytes .../uoapi/binds/GitHubLGPLApi.class | Bin 2832 -> 3106 bytes .../uoapi/binds/GitHubMITApi.class | Bin 2823 -> 3096 bytes .../uoapi/binds/OpenVerseAudiosApi.class | Bin 2756 -> 3035 bytes .../uoapi/binds/OpenVerseImagesApi.class | Bin 2757 -> 3036 bytes .../uoapi/binds/PixabayImagesApi.class | Bin 2723 -> 3000 bytes .../src/org/sillyjirafe/uoapi/Api.java | 2 +- .../src/org/sillyjirafe/uoapi/Caller.java | 4 +- 135 files changed, 2283 insertions(+), 6075 deletions(-) delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/15/405bb4215dac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/18/20fa1dd3e8a900111a85cda54c550706 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/19/c043650f18a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/21/a059b80507ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/22/5024eaf65aac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/27/90bcb4b454ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/2b/60a61b900cad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/2b/e04613f012ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/32/401a75e311ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/39/f0eb149912ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/3c/7051b11f6fab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/3f/30b8798d23a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/40/101e9d0e13ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/41/f0993a7954ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/42/c00794f417a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/42/e0a6e71f73ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/44/d0420dfd18a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/47/e0cd01b470ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/4b/8043819c70ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/4e/f038116618a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/52/c029f0c872ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/53/6023f29013ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/53/60540e2c15a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/53/90f11e4c55ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/59/10931aa214ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/5a/c0871b5717a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/5b/b0f4240673ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/6/603b27b66fab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/6/606131b275ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/66/50502fe707ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/66/e0da330f15a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/6c/a07e4c9a6fab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/70/f01b798d23a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/73/f0ba830318a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/76/90e6fa3870ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/76/b09ff04519a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/78/40fe34f872ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/7b/306207b014a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/7d/8008bb4672ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/7d/c075c3f717a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/8/0035006a0bad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/8/e02874c310ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/8/e0f0bf535dac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/80/a0fcacd1f6a90011142ed1e6ed3e792d delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/81/0030164854ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/86/60397b9018a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/86/80864e9b18a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/88/a07194e872ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/8a/6075ed6f09ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/8c/80aece3deba900111a85cda54c550706 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/90/e017133a71ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/92/c0e148b45cac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/98/2060069f12ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/98/400969dc0cad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/99/b0c3c14a72ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/a/a09eef8713ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/ae/c06b1d0c18a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/af/c0c2dbba6fab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b/0072fb2f13ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b/c09a280c07ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b/e0fef37954ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b2/5006d8ef17a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b4/10835d2771ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b5/007c70d907ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/b9/e0fc094b0aad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/bb/7026230411ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/bd/10878f41eba900111a85cda54c550706 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/bd/7006918e56ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/c8/30a865ec12ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/c8/a0e8abd707ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/c9/002b02a759ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/c9/f04ce75b12ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/ca/60a86a7909ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/d/10baee1113ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/d1/30e436e571ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/d5/b0b34c3aeba900111a85cda54c550706 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/da/00124e545bac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/da/401c957218a90011182fc3eab58d65be delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/db/1037e20073ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/dc/908703fb72ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/dd/00dd72ba5aac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/dd/20be97f572ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/e0/b0ee14e35aac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/e1/108e942df8a90011142ed1e6ed3e792d delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/e4/d058f25f5dac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/e6/10f2bac707ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/e9/70dd26205dac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/f6/30b29f5754ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/f9/a0ca195554ac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/f9/c020c5b375ab0011163bc5228b28d1d0 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/fa/005dc4e111ac00111663a416dae60ac7 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/fb/705067f15aac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/fc/40b1b1b05cac00111450c012ccd5345a delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.history/fd/c06d9ad507ad00111c90b3cc3652d2d3 delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.markers.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.syncinfo.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/40/d6/history.index delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/40/history.index delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/7e/history.index delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/e8/history.index delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.markers.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.syncinfo.snap create mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/org.eclipse.jdt.core/state.dat delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.markers.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.syncinfo.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/25.tree create mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/37.tree delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/25.snap delete mode 100644 .metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png delete mode 100644 .metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png diff --git a/.metadata/.lock_info b/.metadata/.lock_info index 19aec37..7cf1fc3 100644 --- a/.metadata/.lock_info +++ b/.metadata/.lock_info @@ -1,4 +1,4 @@ -#Thu Sep 10 12:58:40 CEST 2026 +#Tue Sep 29 23:22:28 CEST 2026 display=\:0 process-id=7 user=kotama diff --git a/.metadata/.log b/.metadata/.log index 8e854dc..02e4171 100644 --- a/.metadata/.log +++ b/.metadata/.log @@ -1567,3 +1567,555 @@ Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not know !ENTRY ch.qos.logback.classic 1 0 2026-09-10 12:58:41.272 !MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-10 21:57:38.860 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-10 21:57:42.766 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-10 21:57:45.609 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-10 21:57:45.610 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-10 21:57:46.239 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-11 11:39:55.169 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-11 11:40:00.350 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-11 11:40:37.371 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-11 11:40:37.371 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-11 11:40:38.326 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-14 14:55:55.714 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-14 14:56:00.844 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-14 14:56:04.427 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-14 14:56:04.428 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-14 14:56:05.322 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-14 21:37:05.431 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-14 21:37:10.798 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-14 21:37:14.777 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-14 21:37:14.777 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-14 21:37:15.772 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-17 09:20:49.551 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-17 09:20:54.024 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-17 09:20:59.575 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-17 09:20:59.576 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-17 09:21:00.421 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-17 09:26:55.154 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-17 09:26:59.718 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-17 09:27:02.788 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-17 09:27:02.788 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-17 09:27:03.593 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-21 09:08:00.914 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-21 09:08:05.459 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-21 09:08:18.507 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-21 09:08:18.507 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-21 09:08:19.552 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-21 12:25:51.646 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-21 12:25:55.509 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-21 12:26:06.489 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-21 12:26:06.490 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-21 12:26:07.112 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-22 08:09:23.825 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-22 08:09:28.354 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-22 08:09:33.010 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-22 08:09:33.010 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-22 08:09:33.837 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-22 16:37:04.308 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-22 16:37:08.882 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-22 16:37:12.115 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-22 16:37:12.115 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-22 16:37:12.964 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-25 09:23:19.150 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-25 09:23:23.039 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-25 09:23:35.898 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-25 09:23:35.898 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-25 09:23:36.546 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml +!SESSION 2026-09-29 23:22:14.979 ----------------------------------------------- +eclipse.buildId=4.40.0.20260604-0652 +java.version=21.0.11 +java.vendor=Eclipse Adoptium +BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en +Framework arguments: -product org.eclipse.epp.package.java.product +Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product + +!ENTRY ch.qos.logback.classic 1 0 2026-09-29 23:22:18.801 +!MESSAGE Activated before the state location was initialized. Retry after the state location is initialized. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-29 23:22:28.187 +!MESSAGE Failed to read host name. + +!ENTRY org.eclipse.ui.ide 4 0 2026-09-29 23:22:28.187 +!MESSAGE Failed to read host name. +!STACK 0 +java.net.UnknownHostException: CelesteKC-PC: CelesteKC-PC: Name or service not known + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1936) + at org.eclipse.ui.internal.ide.application.IDEApplication.getHostName(IDEApplication.java:493) + at org.eclipse.ui.internal.ide.application.IDEApplication.writeWsLockInfo(IDEApplication.java:434) + at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:375) + at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:179) + at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:219) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:149) + at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:115) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:467) + at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:298) + at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) + at java.base/java.lang.reflect.Method.invoke(Method.java:580) + at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:615) + at org.eclipse.equinox.launcher.Main.basicRun(Main.java:563) + at org.eclipse.equinox.launcher.Main.run(Main.java:1415) + at org.eclipse.equinox.launcher.Main.main(Main.java:1387) +Caused by: java.net.UnknownHostException: CelesteKC-PC: Name or service not known + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) + at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:52) + at java.base/java.net.InetAddress$PlatformResolver.lookupByName(InetAddress.java:1211) + at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1828) + at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:1139) + at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1818) + at java.base/java.net.InetAddress.getLocalHost(InetAddress.java:1931) + ... 15 more + +!ENTRY ch.qos.logback.classic 1 0 2026-09-29 23:22:28.792 +!MESSAGE Logback config file: /home/kotama/Silly-Jirafe/.metadata/.plugins/org.eclipse.m2e.logback/logback.2.7.101.20251017-1242.xml diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/15/405bb4215dac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/15/405bb4215dac00111450c012ccd5345a deleted file mode 100644 index 658901d..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/15/405bb4215dac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/18/20fa1dd3e8a900111a85cda54c550706 b/.metadata/.plugins/org.eclipse.core.resources/.history/18/20fa1dd3e8a900111a85cda54c550706 deleted file mode 100644 index 28ce7f0..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/18/20fa1dd3e8a900111a85cda54c550706 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; -import java.util.ArrayList; -import java.util.List; - -public class CodeBergApi implements Api -{ - - public String getName() - { - return "CadeBergApi"; - } - - public String getURL(int page) { - return "https://codeberg.org/api/v1/repos/search?page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "codeberg", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/19/c043650f18a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/19/c043650f18a90011182fc3eab58d65be deleted file mode 100644 index 68cc1c7..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/19/c043650f18a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/21/a059b80507ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/21/a059b80507ad00111c90b3cc3652d2d3 deleted file mode 100644 index b69eb4c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/21/a059b80507ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public static Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - Map ApiKeys = new HashMap(); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - ApiKeys.put(bind, password); - } - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/22/5024eaf65aac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/22/5024eaf65aac00111450c012ccd5345a deleted file mode 100644 index ddf74cf..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/22/5024eaf65aac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/27/90bcb4b454ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/27/90bcb4b454ac00111450c012ccd5345a deleted file mode 100644 index 55d826b..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/27/90bcb4b454ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/2b/60a61b900cad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/2b/60a61b900cad00111c90b3cc3652d2d3 deleted file mode 100644 index fb72b3f..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/2b/60a61b900cad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?per_page=200&page=" + page + "&key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("hits"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("name"); - String url = repo.getString("pageURL"); - String licence = "CC0"; - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/2b/e04613f012ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/2b/e04613f012ac00111663a416dae60ac7 deleted file mode 100644 index 9cf7fc9..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/2b/e04613f012ac00111663a416dae60ac7 +++ /dev/null @@ -1,42 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("full_name"); - String password = key.getString("key"); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/32/401a75e311ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/32/401a75e311ac00111663a416dae60ac7 deleted file mode 100644 index ec85bec..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/32/401a75e311ac00111663a416dae60ac7 +++ /dev/null @@ -1,35 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/39/f0eb149912ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/39/f0eb149912ac00111663a416dae60ac7 deleted file mode 100644 index 1dc7e02..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/39/f0eb149912ac00111663a416dae60ac7 +++ /dev/null @@ -1,40 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/3c/7051b11f6fab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/3c/7051b11f6fab0011163bc5228b28d1d0 deleted file mode 100644 index 3243d46..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/3c/7051b11f6fab0011163bc5228b28d1d0 +++ /dev/null @@ -1,5 +0,0 @@ -package org.sillyjirafe.json; - -public class ApiKeys { - -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/3f/30b8798d23a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/3f/30b8798d23a90011182fc3eab58d65be deleted file mode 100644 index ef75b26..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/3f/30b8798d23a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT 'a' - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/40/101e9d0e13ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/40/101e9d0e13ac00111663a416dae60ac7 deleted file mode 100644 index e89e569..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/40/101e9d0e13ac00111663a416dae60ac7 +++ /dev/null @@ -1,42 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/41/f0993a7954ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/41/f0993a7954ac00111450c012ccd5345a deleted file mode 100644 index 019d5ac..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/41/f0993a7954ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName()); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/42/c00794f417a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/42/c00794f417a90011182fc3eab58d65be deleted file mode 100644 index e904e80..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/42/c00794f417a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public int getRND(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/42/e0a6e71f73ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/42/e0a6e71f73ab0011163bc5228b28d1d0 deleted file mode 100644 index 0f61593..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/42/e0a6e71f73ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/44/d0420dfd18a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/44/d0420dfd18a90011182fc3eab58d65be deleted file mode 100644 index 684879c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/44/d0420dfd18a90011182fc3eab58d65be +++ /dev/null @@ -1,105 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT 'a' - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - public static String NextLetter(String actual) { - char lettre = actual.charAt(0); - - if (lettre >= 'z') { - return "a"; - } - - char suivante = (char) (lettre + 1); - return String.valueOf(suivante); - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/47/e0cd01b470ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/47/e0cd01b470ab0011163bc5228b28d1d0 deleted file mode 100644 index 6384ad9..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/47/e0cd01b470ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,14 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() - { - File file = new File("ApiKeys.json"); - - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/4b/8043819c70ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/4b/8043819c70ab0011163bc5228b28d1d0 deleted file mode 100644 index 9f09de6..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/4b/8043819c70ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,11 +0,0 @@ -package org.sillyjirafe.json; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() - { - File myObj = new File("ApiKeys.json"); - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/4e/f038116618a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/4e/f038116618a90011182fc3eab58d65be deleted file mode 100644 index 1ebcdd5..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/4e/f038116618a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/52/c029f0c872ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/52/c029f0c872ab0011163bc5228b28d1d0 deleted file mode 100644 index 837dfe5..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/52/c029f0c872ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("example.txt"); - try { - List lines = Files.readString(filePath); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/53/6023f29013ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/53/6023f29013ac00111663a416dae60ac7 deleted file mode 100644 index d9c289f..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/53/6023f29013ac00111663a416dae60ac7 +++ /dev/null @@ -1,47 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - Map ApiKeys = new; - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/53/60540e2c15a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/53/60540e2c15a90011182fc3eab58d65be deleted file mode 100644 index 3391050..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/53/60540e2c15a90011182fc3eab58d65be +++ /dev/null @@ -1,50 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new CodeBergApi())); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/53/90f11e4c55ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/53/90f11e4c55ac00111450c012ccd5345a deleted file mode 100644 index ef8cacc..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/53/90f11e4c55ac00111450c012ccd5345a +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class GitHubLGPLApi implements Api -{ - - public String getName() - { - return "GitHubLGPLApi"; - } - - public String getURL(int page) { - return "https://api.github.com/search/repositories?q=license:lgpl-3.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/59/10931aa214ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/59/10931aa214ac00111663a416dae60ac7 deleted file mode 100644 index c3b3e66..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/59/10931aa214ac00111663a416dae60ac7 +++ /dev/null @@ -1,47 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - Map ApiKeys = new HashMap(); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0871b5717a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/5a/c0871b5717a90011182fc3eab58d65be deleted file mode 100644 index e69de29..0000000 diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/5b/b0f4240673ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/5b/b0f4240673ab0011163bc5228b28d1d0 deleted file mode 100644 index a49f1fe..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/5b/b0f4240673ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,29 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - JSONObject json = new JSONObject(jsonraw); - try { - String jsonraw = Files.readString(filePath); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/6/603b27b66fab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/6/603b27b66fab0011163bc5228b28d1d0 deleted file mode 100644 index 53b2e8b..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/6/603b27b66fab0011163bc5228b28d1d0 +++ /dev/null @@ -1,12 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; - -import org.json.JSONML; - -public class ApiKeys { - public void read() - { - List lines = Files.readAllLines(Paths.get("filename.txt")); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/6/606131b275ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/6/606131b275ab0011163bc5228b28d1d0 deleted file mode 100644 index 4c460bd..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/6/606131b275ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class GitHubLGPLApi implements Api -{ - - public String getName() - { - return "GitHubLGPLApi"; - } - - public String getURL(int page) { - return "https://api.github.com/search/repositories?q=license:lgpl-3.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>();8 - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/66/50502fe707ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/66/50502fe707ad00111c90b3cc3652d2d3 deleted file mode 100644 index 76ff9f8..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/66/50502fe707ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.*; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new PixabayImagesApi()); - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/66/e0da330f15a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/66/e0da330f15a90011182fc3eab58d65be deleted file mode 100644 index 598cd71..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/66/e0da330f15a90011182fc3eab58d65be +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; -import java.util.ArrayList; -import java.util.List; - -public class CodeBergApi implements Api -{ - - public String getName() - { - return "CadeBergApi"; - } - - public String getURL(int page) { - return "https://codeberg.org/api/v1/repos/search?page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/6c/a07e4c9a6fab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/6c/a07e4c9a6fab0011163bc5228b28d1d0 deleted file mode 100644 index 0d0580a..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/6c/a07e4c9a6fab0011163bc5228b28d1d0 +++ /dev/null @@ -1,5 +0,0 @@ -package org.sillyjirafe.json; - -public class ApiKeys { - -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/70/f01b798d23a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/70/f01b798d23a90011182fc3eab58d65be deleted file mode 100644 index 0a371e6..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/70/f01b798d23a90011182fc3eab58d65be +++ /dev/null @@ -1,5 +0,0 @@ -package org.sillyjirafe.uoapi; - -public class ApiKeys { - -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/73/f0ba830318a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/73/f0ba830318a90011182fc3eab58d65be deleted file mode 100644 index 6f31353..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/73/f0ba830318a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public int getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("rnd"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/76/90e6fa3870ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/76/90e6fa3870ab0011163bc5228b28d1d0 deleted file mode 100644 index 7147712..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/76/90e6fa3870ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,9 +0,0 @@ -package org.sillyjirafe.json; - - -public class ApiKeys { - public void read() - { - - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/76/b09ff04519a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/76/b09ff04519a90011182fc3eab58d65be deleted file mode 100644 index 6f35584..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/76/b09ff04519a90011182fc3eab58d65be +++ /dev/null @@ -1,127 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT 'a' - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName, int maxPage) throws SQLException { - int pageActuelle = getPage(bindName); - String rndActuel = getRND(bindName); - - int nouvellePage; - String nouveauRnd; - - if (pageActuelle >= maxPage) { - nouvellePage = 1; - nouveauRnd = NextLetter(rndActuel); - } else { - nouvellePage = pageActuelle + 1; - nouveauRnd = rndActuel; - } - - String sql = """ - INSERT INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?) - ON CONFLICT(bind_name) DO UPDATE SET last_page = ?, rnd = ? - """; - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.setInt(2, nouvellePage); - ps.setString(3, nouveauRnd); - ps.setInt(4, nouvellePage); - ps.setString(5, nouveauRnd); - ps.executeUpdate(); - } - } - public static String NextLetter(String actual) { - char[] lettres = actual.toCharArray(); - int i = lettres.length - 1; - - while (i >= 0) { - if (lettres[i] < 'z') { - lettres[i]++; - return new String(lettres); - } - lettres[i] = 'a'; - i--; - } - - return "a" + new String(lettres); - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/78/40fe34f872ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/78/40fe34f872ab0011163bc5228b28d1d0 deleted file mode 100644 index 8ef2dc1..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/78/40fe34f872ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,23 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - String jsonraw = Files.readString(filePath); - } - JSONObject json = new JSONObject(jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/7b/306207b014a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/7b/306207b014a90011182fc3eab58d65be deleted file mode 100644 index 6d96581..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/7b/306207b014a90011182fc3eab58d65be +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; -import java.util.ArrayList; -import java.util.List; - -public class CodeBergApi implements Api -{ - - public String getName() - { - return "GitHubMITApi"; - } - - public String getURL(int page) { - return "https://api.github.com/search/repositories?q=license:mit&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/7d/8008bb4672ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/7d/8008bb4672ab0011163bc5228b28d1d0 deleted file mode 100644 index 81d6c09..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/7d/8008bb4672ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,31 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("example.txt"); - try { - List lines = Files.readAllLines(filePath); - for (String line : lines) { - System.out.println(line); - } - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/7d/c075c3f717a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/7d/c075c3f717a90011182fc3eab58d65be deleted file mode 100644 index 5646a11..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/7d/c075c3f717a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public int getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/8/0035006a0bad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/8/0035006a0bad00111c90b3cc3652d2d3 deleted file mode 100644 index ded96de..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/8/0035006a0bad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?per_page=200&page=" + page + "&key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("name"); - String url = repo.getString("pageURL"); - String licence = "CC0"; - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/8/e02874c310ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/8/e02874c310ac00111663a416dae60ac7 deleted file mode 100644 index 1a85791..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/8/e02874c310ac00111663a416dae60ac7 +++ /dev/null @@ -1,31 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/8/e0f0bf535dac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/8/e0f0bf535dac00111450c012ccd5345a deleted file mode 100644 index 3b360eb..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/8/e0f0bf535dac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/80/a0fcacd1f6a90011142ed1e6ed3e792d b/.metadata/.plugins/org.eclipse.core.resources/.history/80/a0fcacd1f6a90011142ed1e6ed3e792d deleted file mode 100644 index 6912190..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/80/a0fcacd1f6a90011142ed1e6ed3e792d +++ /dev/null @@ -1,5 +0,0 @@ -package org.sillyjirafe.uoapi; - -public class ApiKeys { - -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/81/0030164854ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/81/0030164854ac00111450c012ccd5345a deleted file mode 100644 index 55d826b..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/81/0030164854ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/86/60397b9018a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/86/60397b9018a90011182fc3eab58d65be deleted file mode 100644 index ef75b26..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/86/60397b9018a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT 'a' - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/86/80864e9b18a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/86/80864e9b18a90011182fc3eab58d65be deleted file mode 100644 index 0da0eb3..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/86/80864e9b18a90011182fc3eab58d65be +++ /dev/null @@ -1,105 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT 'a' - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - public static String lettreSuivante(String actuelle) { - char lettre = actuelle.charAt(0); - - if (lettre >= 'z') { - return "a"; - } - - char suivante = (char) (lettre + 1); - return String.valueOf(suivante); - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/88/a07194e872ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/88/a07194e872ab0011163bc5228b28d1d0 deleted file mode 100644 index d49ae00..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/88/a07194e872ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String Jsonraw = Files.readString(filePath); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(Jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/8a/6075ed6f09ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/8a/6075ed6f09ad00111c90b3cc3652d2d3 deleted file mode 100644 index fe6b091..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/8a/6075ed6f09ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?page=" + page + "key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/8c/80aece3deba900111a85cda54c550706 b/.metadata/.plugins/org.eclipse.core.resources/.history/8c/80aece3deba900111a85cda54c550706 deleted file mode 100644 index ac3af9c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/8c/80aece3deba900111a85cda54c550706 +++ /dev/null @@ -1,51 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.CodeBergApi; -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new CodeBergApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/90/e017133a71ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/90/e017133a71ab0011163bc5228b28d1d0 deleted file mode 100644 index 30c4400..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/90/e017133a71ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,24 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - File file = new File("ApiKeys.json"); - try (Scanner Reader = new Scanner(file)) { - Reader.all - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/92/c0e148b45cac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/92/c0e148b45cac00111450c012ccd5345a deleted file mode 100644 index dab8d6a..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/92/c0e148b45cac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("pageURL"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/98/2060069f12ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/98/2060069f12ac00111663a416dae60ac7 deleted file mode 100644 index b128ea1..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/98/2060069f12ac00111663a416dae60ac7 +++ /dev/null @@ -1,40 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject keys = items.getJSONObject(i); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/98/400969dc0cad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/98/400969dc0cad00111c90b3cc3652d2d3 deleted file mode 100644 index cade396..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/98/400969dc0cad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesApi"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?per_page=200&page=" + page + "&key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("hits"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("name"); - String url = repo.getString("pageURL"); - String licence = "CC0"; - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/99/b0c3c14a72ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/99/b0c3c14a72ab0011163bc5228b28d1d0 deleted file mode 100644 index a294b50..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/99/b0c3c14a72ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("example.txt"); - try { - List lines = Files.readString(filePath) - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/a/a09eef8713ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/a/a09eef8713ac00111663a416dae60ac7 deleted file mode 100644 index c3b3e66..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/a/a09eef8713ac00111663a416dae60ac7 +++ /dev/null @@ -1,47 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - Map ApiKeys = new HashMap(); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/ae/c06b1d0c18a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/ae/c06b1d0c18a90011182fc3eab58d65be deleted file mode 100644 index 61d42ee..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/ae/c06b1d0c18a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public int getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/af/c0c2dbba6fab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/af/c0c2dbba6fab0011163bc5228b28d1d0 deleted file mode 100644 index 6ca33f9..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/af/c0c2dbba6fab0011163bc5228b28d1d0 +++ /dev/null @@ -1,12 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; - -import org.json.JSONML; - -public class ApiKeys { - public void read() - { - - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b/0072fb2f13ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/b/0072fb2f13ac00111663a416dae60ac7 deleted file mode 100644 index d235dbf..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b/0072fb2f13ac00111663a416dae60ac7 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Map ApiKeys = new HashMap(); - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b/c09a280c07ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/b/c09a280c07ad00111c90b3cc3652d2d3 deleted file mode 100644 index ae8f6bb..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b/c09a280c07ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public static Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - Map ApiKeys = new HashMap(); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - ApiKeys.put(bind, password); - } - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b/e0fef37954ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/b/e0fef37954ac00111450c012ccd5345a deleted file mode 100644 index 942d932..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b/e0fef37954ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())) - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b2/5006d8ef17a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/b2/5006d8ef17a90011182fc3eab58d65be deleted file mode 100644 index 92412af..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b2/5006d8ef17a90011182fc3eab58d65be +++ /dev/null @@ -1,80 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1 - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b4/10835d2771ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/b4/10835d2771ab0011163bc5228b28d1d0 deleted file mode 100644 index 3c1fecd..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b4/10835d2771ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,16 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() - { - File file = new File("ApiKeys.json"); - try (Scanner myReader = new Scanner(myObj)) { - - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b5/007c70d907ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/b5/007c70d907ad00111c90b3cc3652d2d3 deleted file mode 100644 index a0cab5c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b5/007c70d907ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.*; -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new PixabayImagesApi()); - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/b9/e0fc094b0aad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/b9/e0fc094b0aad00111c90b3cc3652d2d3 deleted file mode 100644 index f9868db..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/b9/e0fc094b0aad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?page=" + page + "key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("name"); - String url = repo.getString("pageURL"); - String licence = "CC0"; - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/bb/7026230411ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/bb/7026230411ac00111663a416dae60ac7 deleted file mode 100644 index 533bccc..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/bb/7026230411ac00111663a416dae60ac7 +++ /dev/null @@ -1,33 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/bd/10878f41eba900111a85cda54c550706 b/.metadata/.plugins/org.eclipse.core.resources/.history/bd/10878f41eba900111a85cda54c550706 deleted file mode 100644 index 8e4a727..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/bd/10878f41eba900111a85cda54c550706 +++ /dev/null @@ -1,50 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.CodeBergApi; -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/bd/7006918e56ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/bd/7006918e56ac00111450c012ccd5345a deleted file mode 100644 index 89f438d..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/bd/7006918e56ac00111450c012ccd5345a +++ /dev/null @@ -1,47 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public static Map read() - { - - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - Map ApiKeys = new HashMap(); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - ApiKeys.put(bind, password); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/c8/30a865ec12ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/c8/30a865ec12ac00111663a416dae60ac7 deleted file mode 100644 index 9e72cc4..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/c8/30a865ec12ac00111663a416dae60ac7 +++ /dev/null @@ -1,40 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/c8/a0e8abd707ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/c8/a0e8abd707ad00111c90b3cc3652d2d3 deleted file mode 100644 index 24aedcc..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/c8/a0e8abd707ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,50 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.*; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; -import org.sillyjirafe.uoapi.binds.PixabayImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new PixabayImagesApi()); - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/c9/002b02a759ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/c9/002b02a759ac00111450c012ccd5345a deleted file mode 100644 index bfb217c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/c9/002b02a759ac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class OpenVerseAudiosApi implements Api -{ - public String getName() - { - return "OpenVerseAudiosApi"; - } - - public String getURL(int page, String apikey) { - return "https://api.openverse.org/v1/audio/?format=json&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("results"); - - for (int i = 0; i < items.length(); i++) { - JSONObject image = items.getJSONObject(i); - - String titre = image.getString("title"); - String url = image.getString("url"); - String licence = image.getString("license"); - - resultats.add(new element(titre, url, licence, "openverse", "audio")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/c9/f04ce75b12ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/c9/f04ce75b12ac00111663a416dae60ac7 deleted file mode 100644 index 72d19d0..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/c9/f04ce75b12ac00111663a416dae60ac7 +++ /dev/null @@ -1,37 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/ca/60a86a7909ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/ca/60a86a7909ad00111c90b3cc3652d2d3 deleted file mode 100644 index 449f10e..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/ca/60a86a7909ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?page=" + page + "key=" + apikey; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/d/10baee1113ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/d/10baee1113ac00111663a416dae60ac7 deleted file mode 100644 index 4a0d6d4..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/d/10baee1113ac00111663a416dae60ac7 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONArray; -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Map ApiKeys = new(); - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - JSONArray items = json.getJSONArray("keys"); - - for (int i = 0; i < items.length(); i++) { - JSONObject key = items.getJSONObject(i); - String bind = key.getString("bind"); - String password = key.getString("key"); - - - } - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/d1/30e436e571ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/d1/30e436e571ab0011163bc5228b28d1d0 deleted file mode 100644 index b59a60c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/d1/30e436e571ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,25 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - File file = new File("ApiKeys.json"); - try (Scanner Reader = new Scanner(file)) { - Reader.all - } - JSONObject json = new JSONObject(); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b0b34c3aeba900111a85cda54c550706 b/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b0b34c3aeba900111a85cda54c550706 deleted file mode 100644 index 881091c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/d5/b0b34c3aeba900111a85cda54c550706 +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; -import java.util.ArrayList; -import java.util.List; - -public class CodeBergApi implements Api -{ - - public String getName() - { - return "CadeBergApi"; - } - - public String getURL(int page) { - return "https://codeberg.org/api/v1/repos/search?page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("data"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "codeberg", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/da/00124e545bac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/da/00124e545bac00111450c012ccd5345a deleted file mode 100644 index 07fc475..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/da/00124e545bac00111450c012ccd5345a +++ /dev/null @@ -1,43 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class OpenVerseAudiosApi implements Api -{ - public String getName() - { - return "OpenVerseAudiosApi"; - } - - public String getURL(int page, String apikey) { - return "https://api.openverse.org/v1/audio/?format=json&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("results"); - - for (int i = 0; i < items.length(); i++) { - JSONObject image = items.getJSONObject(i); - - String titre = image.getString("title"); - String url = image.getString("url"); - String licence = image.getString("license"); - - resultats.add(new element(titre, url, licence, "openverse", "audio")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/da/401c957218a90011182fc3eab58d65be b/.metadata/.plugins/org.eclipse.core.resources/.history/da/401c957218a90011182fc3eab58d65be deleted file mode 100644 index cf7c022..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/da/401c957218a90011182fc3eab58d65be +++ /dev/null @@ -1,94 +0,0 @@ -package org.sillyjirafe.db; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; - -public class Crawl_StateDB -{ - String URL = new String(); - String insertSql = "INSERT OR IGNORE INTO crawlstates (bind_name, last_page, rnd) VALUES (?, ?, ?)"; - Connection connection; - - public Crawl_StateDB(String BDstr) throws SQLException - { - URL = BDstr; - connection = DriverManager.getConnection(URL); - } - - public void LinkToDB() throws SQLException - { - try (Statement stmt = connection.createStatement()) - { - stmt.execute(""" - CREATE TABLE IF NOT EXISTS crawlstates ( - bind_name TEXT PRIMARY KEY, - last_page INTEGER NOT NULL DEFAULT 1, - rnd TEXT NOT NULL DEFAULT a - ) - """); - } - } - - public void AddEllement(String bind, int lastpage) throws SQLException - { - try (PreparedStatement ps = connection.prepareStatement(insertSql)) - { - ps.setString(1, bind); - ps.setInt(2, lastpage); - ps.executeUpdate(); - System.out.printf("%s is now page %d \n", bind, lastpage); - } - } - - public int getPage(String bindName) throws SQLException { - String sql = "SELECT last_page FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getInt("last_page"); - } else { - return 1; - } - } - } - public String getRND(String bindName) throws SQLException { - String sql = "SELECT rnd FROM crawlstates WHERE bind_name = ?"; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ResultSet rs = ps.executeQuery(); - - if (rs.next()) { - return rs.getString("rnd"); - } else { - return "a"; - } - } - } - public void updatePage(String bindName) throws SQLException { - String sql = """ - INSERT INTO crawlstates (bind_name, last_page) VALUES (?, 2) - ON CONFLICT(bind_name) DO UPDATE SET last_page = last_page + 1 - """; - - try (PreparedStatement ps = connection.prepareStatement(sql)) { - ps.setString(1, bindName); - ps.executeUpdate(); - } - } - - public void Close() throws SQLException - { - if (connection != null) - { - connection.close(); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/db/1037e20073ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/db/1037e20073ab0011163bc5228b28d1d0 deleted file mode 100644 index 4fb5f59..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/db/1037e20073ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/dc/908703fb72ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/dc/908703fb72ab0011163bc5228b28d1d0 deleted file mode 100644 index bd62eb5..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/dc/908703fb72ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,22 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/dd/00dd72ba5aac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/dd/00dd72ba5aac00111450c012ccd5345a deleted file mode 100644 index 86ecc7c..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/dd/00dd72ba5aac00111450c012ccd5345a +++ /dev/null @@ -1,45 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; -import java.util.ArrayList; -import java.util.List; - -public class GitHubMITApi implements Api -{ - - public String getName() - { - return "GitHubMITApi"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:mit&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/dd/20be97f572ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/dd/20be97f572ab0011163bc5228b28d1d0 deleted file mode 100644 index 4fb5f59..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/dd/20be97f572ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public void read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - JSONObject json = new JSONObject(jsonraw); - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b0ee14e35aac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b0ee14e35aac00111450c012ccd5345a deleted file mode 100644 index d5e82a8..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/e0/b0ee14e35aac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "GitHubApacheApi"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/e1/108e942df8a90011142ed1e6ed3e792d b/.metadata/.plugins/org.eclipse.core.resources/.history/e1/108e942df8a90011142ed1e6ed3e792d deleted file mode 100644 index e69de29..0000000 diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/e4/d058f25f5dac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/e4/d058f25f5dac00111450c012ccd5345a deleted file mode 100644 index a0951b9..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/e4/d058f25f5dac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://pixabay.com/api/?page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray(""); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/e6/10f2bac707ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/e6/10f2bac707ad00111c90b3cc3652d2d3 deleted file mode 100644 index 0684e44..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/e6/10f2bac707ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/e9/70dd26205dac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/e9/70dd26205dac00111450c012ccd5345a deleted file mode 100644 index 8ac50af..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/e9/70dd26205dac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("pageURL"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/f6/30b29f5754ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/f6/30b29f5754ac00111450c012ccd5345a deleted file mode 100644 index 6a68053..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/f6/30b29f5754ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()),ApiKeys.get(Apis.get(i).getName()); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/f9/a0ca195554ac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/f9/a0ca195554ac00111450c012ccd5345a deleted file mode 100644 index 6cc606f..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/f9/a0ca195554ac00111450c012ccd5345a +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()),ApiKeys.get(Apis.get(i).getName(); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/f9/c020c5b375ab0011163bc5228b28d1d0 b/.metadata/.plugins/org.eclipse.core.resources/.history/f9/c020c5b375ab0011163bc5228b28d1d0 deleted file mode 100644 index 00c67a2..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/f9/c020c5b375ab0011163bc5228b28d1d0 +++ /dev/null @@ -1,28 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; - -import org.json.JSONObject; - -public class ApiKeys { - public Map read() throws FileNotFoundException - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/fa/005dc4e111ac00111663a416dae60ac7 b/.metadata/.plugins/org.eclipse.core.resources/.history/fa/005dc4e111ac00111663a416dae60ac7 deleted file mode 100644 index 533bccc..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/fa/005dc4e111ac00111663a416dae60ac7 +++ /dev/null @@ -1,33 +0,0 @@ -package org.sillyjirafe.json; - -import java.io.File; -import java.io.FileNotFoundException; -import java.util.Scanner; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.io.IOException; -import java.util.List; -import java.util.Map; - -import org.json.JSONObject; - -public class ApiKeys { - public Map read() - { - Path filePath = Paths.get("ApiKeys.json"); - try { - String jsonraw = Files.readString(filePath); - JSONObject json = new JSONObject(jsonraw); - - - - } catch (IOException e) { - System.err.println("I/O error: " + e.getMessage()); - } catch (SecurityException e) { - System.err.println("Access denied: " + e.getMessage()); - } - return null; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/fb/705067f15aac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/fb/705067f15aac00111450c012ccd5345a deleted file mode 100644 index 91a7abe..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/fb/705067f15aac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "github", "code")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/fc/40b1b1b05cac00111450c012ccd5345a b/.metadata/.plugins/org.eclipse.core.resources/.history/fc/40b1b1b05cac00111450c012ccd5345a deleted file mode 100644 index 320aa8b..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/fc/40b1b1b05cac00111450c012ccd5345a +++ /dev/null @@ -1,44 +0,0 @@ -package org.sillyjirafe.uoapi.binds; - -import java.util.ArrayList; -import java.util.List; - -import org.json.JSONArray; -import org.json.JSONObject; -import org.sillyjirafe.uoapi.Api; -import org.sillyjirafe.uoapi.element; - -public class PixabayImagesApi implements Api -{ - public String getName() - { - return "PixabayImagesAPI"; - } - - public String getURL(int page, String apikey) { - return "https://api.github.com/search/repositories?q=license:apache-2.0&page=" + page; - } - - public List Parse(String jsonRaw) { - List resultats = new ArrayList<>(); - - try { - JSONObject json = new JSONObject(jsonRaw); - JSONArray items = json.getJSONArray("items"); - - for (int i = 0; i < items.length(); i++) { - JSONObject repo = items.getJSONObject(i); - - String titre = repo.getString("full_name"); - String url = repo.getString("html_url"); - String licence = repo.getJSONObject("license").getString("spdx_id"); - - resultats.add(new element(titre, url, licence, "pixabay", "image")); - } - } catch (org.json.JSONException e) { - System.out.println("error but continue : " + e.getMessage()); - } - - return resultats; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.history/fd/c06d9ad507ad00111c90b3cc3652d2d3 b/.metadata/.plugins/org.eclipse.core.resources/.history/fd/c06d9ad507ad00111c90b3cc3652d2d3 deleted file mode 100644 index c70384f..0000000 --- a/.metadata/.plugins/org.eclipse.core.resources/.history/fd/c06d9ad507ad00111c90b3cc3652d2d3 +++ /dev/null @@ -1,49 +0,0 @@ -package org.sillyjirafe.uoapi; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.sillyjirafe.uoapi.binds.GitHubApacheApi; -import org.sillyjirafe.uoapi.binds.GitHubLGPLApi; -import org.sillyjirafe.uoapi.binds.GitHubMITApi; -import org.sillyjirafe.uoapi.binds.OpenVerseAudiosApi; -import org.sillyjirafe.uoapi.binds.OpenVerseImagesApi; - -public class Out { - List Apis = new ArrayList<>(); - - public List PreOut() - { - Apis.add(new GitHubMITApi()); - Apis.add(new GitHubLGPLApi()); - Apis.add(new GitHubApacheApi()); - Apis.add(new OpenVerseImagesApi()); - Apis.add(new OpenVerseAudiosApi()); - Apis.add(new PixabayImagesApi()); - List bindnames = new ArrayList<>(); - - for (Api api : Apis) - { - bindnames.add(api.getName()); - } - - return bindnames; - } - - public List out(Map bindpages, Map ApiKeys) throws Exception - { - List Elements = new ArrayList<>(); - - for (int i = 0; i < Apis.size(); i++) - { - List currentapi = Caller.CallApi(Apis.get(i), bindpages.get(Apis.get(i).getName()), ApiKeys.get(Apis.get(i).getName())); - for (int j = 0; j < currentapi.size(); j++) - { - Elements.add(currentapi.get(j)); - } - } - return Elements; - } -} diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.markers.snap deleted file mode 100644 index fd766bfd26f5eee0df969803ebbbe8927f9219f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 bcmZ?R*xjhShe1S2b=vdAllRFvP?-+^n(HWa diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.syncinfo.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/.org.eclipse.egit.core.cmp/.syncinfo.snap deleted file mode 100644 index fd766bfd26f5eee0df969803ebbbe8927f9219f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 bcmZ?R*xjhShe1S2b=vdAllRFvP?-+^n(HWa diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/40/d6/history.index b/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/40/d6/history.index deleted file mode 100644 index cca827b12141c9742c64b71043dc56497450db32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 717 zcmZQ#U|?WnFw`$DO4iRWO4l#W%*mh($nL8;cWOMODw*^UVHlr3OnU{Lrad-(;Dc)z_uAxQkeEn|LB zptywo;a6LGQ}>l%o2~%Bp>$xAGouaCVZ6h30=b= zC=zf$=*(4}1S^Uesg#gW80 zpyCY5c&zjTC`=bC3_Jj~V9Z{rUzkU%S4ghjRxeNdR diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/7e/history.index b/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/7e/history.index deleted file mode 100644 index 6dd7d6e00a0e41f4ba72225c3954fccd0685afe4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 363 zcmZQ#U|?Wm(9$n1O4iRWO4l#W%*mx!=|bD$YLT3$nPWG(XwNv diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/e8/history.index b/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.indexes/e4/e4/90/e8/history.index deleted file mode 100644 index 9b3f3757034958d270676e0e6a16085c5e118e56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1007 zcmZQ#U|?WmP}46iO4iRWO4l#W%*mne@7s~Z6;=0w)iV_R z)<+gMO4tK2f7d%fWbr~TsJPr*K4fvfrrlum58Q-52qD>Pk_8brSdsb$SzI}PCs@5g z0^59KaRU#C_=ndbGm*s|wr>Zk|KRgH8d?15!YyEN2dUD>f=KpWoCXnRh&}QUSv=y^ zItd=HEp~=BTPb#2x;b{6H3G5{8H? z?3?}-S^V(cMPPdu6i#`8EFSxAA;kTfA5I{P=WLz_ap&QKUdZBHGa=#)9J}3+#lJ|- z0joE7V)nEU$(@Nirh~;FhznaGiyyLuhzm5wsw0aZ^qc}wf0l7e0g^d8)=vhDH#j%W zK^AXPo(LA7@a&fbviREo6M>0qJ6hu71T74U`c(*V_d_kShEM#%+51n9h n3IaFEBa2Vm>sf*p7{_P5=}Q7am5S60Qb&p?r9@tlRy~9$Qd*K`+w?_E2)&N&XT6i!GuF&F z&GuMvhmQa^#0`m;A^`;<@ddbX;RaWP5U2+vX2#CO_Ij7@woQbkm3PLEXXpR_Ju}ZN zLa2!@wl-)K^{!GuI^c2`m32@KC$e!gk~bj;6@sIAdEk!(2P$Mgk1F6#sc&} zoATlNzaUS4*O&8E!`{cV^`DZhQzcu^&5yJ-7r9t;YO&zd)}9MgVuA&^XT5RpZRmgi z=7TiKLtr`w{E}~WNG!WNjRNcePKY2eC>?hng0YSHY!YM8nW8ahzGTcxZ)V0&?yk}Z zY?_=vjrR)TUp1LQ@8*!r%F>tf`9xaYDrvb>(sH`2 z0$6qg5UGFI8VoqN;JEsH$lh>tHUn3^N^Ym{q$-Mvhr2*j+p>3TI=AEckmVan88 zwqlFbVxVW#5c{R2&Ge29VsJnUXbK@&*fQ=LKzf_&@&M-(J-a`pygK0Q{<@wgRyy96 zn@pX>$Q33@5>cP%B8zo-u~Ge6iL(*=^U6o7?x|<0%;&Rx=#Age${5T&$^zNCLe*O8 zEhj`*L9M5n1z%5+1?ab87NEaMS+H|qAq4f#?e*EGhB*YY73Nli(4HL5Cd@byCMm$+jBE=-$m9zwQtTdy#TmYd1(QFrXu;WW%yN^nSj1S` I^3rbs0J#fE*8l(j diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/SillyJirafe.org/.markers.snap deleted file mode 100644 index 9256d7a884022e6fb14c140ac5e794ac7a6f7e4d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2308 zcmd^=&1(}u6u>8&e%K;XXh9Isfl`H1HrPTBwUmms*j6i=QhS~5zHBD$&MY&tZKEee z5Ue-BtJUhon`cGDga3-)wI`{9Gusq)x0|F!Z!Uz*n~%)=e&oG3`+oc3@JBRsX5_`U z-RGaqA%rY6St?WCuP;(TDqwTrm85V=@!O2o;_*^Va#p$$(j}-%yGAyM-rJ);`muH_ zbXKpo!SQJ*!LGT=cDMjL6nx!>0QI305;j0kRk!qpf)05k99VFRsJM7-1@$>qBFc&g zW#%uSUK7tT*F@u}j|eXcfGJr-r!GyI({0M_dFlhQsA~4{Qg6h z%PE$%6wCQE%Q9Eef6b+wr{Vi04O=$LdM( z+?_bcuUPtZBC9t^I2>nDJffrNIPwYe?6MM+d1KjunaqZzvDKMaO95F!iA42Q>LFmM z%Z{o~VdDt4LZQ=G|MxMkU}dHochH#&uEY^@s^HuM7dxEkRF0P_ZlVeo0oGs56&n{j zc+F%}{d89AqfDy5?MUmdl-914*3t2nS{snlNmJ7aQ>%v-bO|F^kj>bQjqgAO1TY7r zA@@M16m?SG;-AE_$|K*!>wrTdNB~N&yMMF>HWl;J6hJg_tWFVe64KJGNFBC`1DVKr z`H$Pg)ueBvn@FNfq>4>LUS4MA7n_9b<_)7+2_5+jxb9|S4GvdhXd7AuBZfO2_YUrgg^fIzxV%zxj=|$nKc-zs!rM- z;s5XedIj?85ed1Im1a|R@0FXH^HbF=`I#?{W#33flj=A1Tj|=ct)^j1Hzt*?98Hrn zRd?>C`?ZxHE6YE!87VDgGSXc(on1-iGPzVHx0I3Lu&k+7Ks$A1NjHkgZufd$d9x~C z8x1Po8n)6XSKkg6z^Kaq?>d9taai{-+ z`^GZ#6!@J>XVR-}r2j(Fz-#%~zUcc^D3F7eHr?Lh2M2*1wMJ_beL;7H~HoGC|x73u&imJEv;*Oy-Rd$l^j1UqjDw;;k)-rhF*sb{pXi>N1 zJ=NZKs)eRfyQVF}8A75*d#6Wj>qxnD-dau&GI#>Dcu7r*7M!|jSglv{;6$mR{G?Xf z;l!zWuT+(X=P$s8D8*R$+7&R;CLR-Y;;)1g`UnX>iRS4B-gd!6*od@=<%Ml(F)|Hv?IohIqSK*7_R zV(%(7+b|!9sDnG+D;4;B;1nG9ohtUVMZ63^L#QYca7&8xRA|jHRr}#7a^{=v`u4Qz zb!=55kwVq7O}MG7G)Z7zv99@~Qd2-IlX#C*%O)b*OR&3-4SUyc^!gJ`v_ef)(bRu% z{z&Ph?FME+Vh5FznMn*c+nkID!yGh#|xgx)8b%dN}mhMbAA9*1R&d=KX1`lr-^l12{vq~_jJY_<@$LA8i<2%+q2cs9 zbUleMgD{IQ!eMS6VFBSi!XiS7!`pFmRzi>w(g+!hV4A~p7GVitnTM6*0nPF8Ee~rN zy<1sDT+6$-j<o+v~ zitye2UbFwRo;|!+23V~^od$xTa3mUwcXjvl_Vu&c8t9Ao#b|#lAq3(BgRmbA4TU|u zZFRR+_hM^Y6pzcKPSAk<4ee-Y*A0O6}`3y4%2>IaJ;@rmLYd??s z!^aI)LhD@~|_?7*duxp*-r0GR|`}_+|L( fH*qr0swF)7O~`+J^F27ShIR2LncypuBo6=p&0(Wi literal 0 HcmV?d00001 diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.markers.snap deleted file mode 100644 index fd766bfd26f5eee0df969803ebbbe8927f9219f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 bcmZ?R*xjhShe1S2b=vdAllRFvP?-+^n(HWa diff --git a/.metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.syncinfo.snap b/.metadata/.plugins/org.eclipse.core.resources/.projects/sillyjirafe.org.api/.syncinfo.snap deleted file mode 100644 index fd766bfd26f5eee0df969803ebbbe8927f9219f8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 bcmZ?R*xjhShe1S2b=vdAllRFvP?-+^n(HWa diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap b/.metadata/.plugins/org.eclipse.core.resources/.root/.markers.snap deleted file mode 100644 index bf279e77d5ef939ebb9919617a336fa8ecd1705e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 123 zcmZ?R*xjhShe1S2b=vdAllRFvkjQ6XU|?ck)CW=w2O@rd1{)Rlxu<$}`7uI90RYc- BF#P}k diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/25.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/25.tree deleted file mode 100644 index d231f33c69de0d43a51a73ab3e82e579c481bee2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4443 zcmb7IYiv|S6h3=*XWMCcbldVMA%?_1ChAJ7F)_x(@(32#Qf)1m$m4eRw!Q0iciFq! z2S|ZL7g2c>#5Y zP#!|CEYgIi$;~}m?vgvHohN8=ErPF&=L@;Ckt~XT3}G5P;Q0y&P}=~&G@1Hp&BVJ5F5&+ zN*UvBGuxk&2^6e$`;g12<$p;uKU%TQkD+x8PT*E3+-1VOSh3CzgrMGa+dcRzgr~z1 zfAND6&{BOK*v|wzC}$gXNQ0)81$`v5wY#Vnja4iBVYl8+yq9pMobs0e8dhhFAtPI~ z0!jA}3HRraUIB=tt(=`oXR}ucNGTP6@xvjQ+nzVq8Do|&p5ZgK#K0KT9por7(TtgW z3WdR)$!i2XENAiM6CtQe=w{YuIn^qPKtM21Cup?HN;x4cL53%6g8kt~7;uc*XSaV^ z*u%kJ#Sc{te*<97NGX#E+$TtgO$@8nXg z=Lt25GoGjz9Je_yDN5236=}uoDsChNUiTHQN_!OsGPGq(;%ie3zhk zIk?jcw|woU&LqzauXW5LWL2z*e=ZSAJmn-s>?43h0XkO2JvKv^fr(;J9=~>TD_T^=%_eRm zzv8V|em?+M;8QVTMkqZ~y;miZpT(I(tPV?ijuJ7iD_3RgM}n#h>~I2mb2Q|1o~oic zkVp3jG&Wo3`OQ)p7hC6Y(>Yt`scf%Bu+pXVsI39b_o7AP?PMAeYOutucAm;*7n)Em zAG`U^Q_->V9eOt=#?yIr{B%)d3kOTc*U$*~LOogHLG?*1hdgt7<**AytE)j6mI5>;?m##lIzppTb#%dm67} zaNE{K#UXa&z|Y{7?Kbp6a?o$TjVgXpSu*_mOsiHDHsY~{KYm_&Yf`QPd!99!rQn_5#aW@`;>(GHntgY z>SfuERU7cU;ocN_3!;_oWW*uLQ=irPR+sgic&X%}E4Y(7Wqz9rzQcXyw8`Urs}O;M lZIZLSega>7b>_;n(={p6Pa;%Bo)+g579ady345um{Rckr1or>{ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.root/37.tree b/.metadata/.plugins/org.eclipse.core.resources/.root/37.tree new file mode 100644 index 0000000000000000000000000000000000000000..592f297535b4dab015cf1ca0c1dcb264d7515969 GIT binary patch literal 4312 zcmb7HYiv|S6h3>q)Aru-=(goiLX7@1qN}1YF~)?p5G>GAEdoXXZ+9>4*6r@HcMGjZ z!33*-ifH(wF(NM?keK+2#z*2KMiUkP7=u6y_yR>x|M-JM{pQY@yLWeQiOi2Vx9sq@j-KnWTMJ!)g{9SlrH9?v^&b}*lCTsU>sN|E{smoY5?mkmTyyHn}(@S;@S zUhBw}O2VXAP)U{6cVPV_n9OW3a%)~~So5Wq*HVlG+OwIrN(n0dbi zc)t@hC|*bVvT)iPOoI#G-Fc#!OLIxPrxV>0~sX25~Z_={*tLS9K%-bgp@-QosS zRChGadsb0QR9#ImQSIv3Nd}hj9Q9p_i4T9`ugBnUJT4~fni$B=Kw5MR})ps={rUnXHDF-X%ObN-w>g5nG1nQZJ zY5kdb{A10V3MA*6w<0tNN7bumtjw?E_KTev1*~}+_8RqFx2B|=@wR+FJX8HFHY+P< zu_Z#LSI$a9-ul^iAEV`CRjt0Or-0#CGo{=7&d6>2gR)!yMy_Yegu!6t8LCYX(nFjOernBEM;89q#C~{Pz78FYv=ib=#ocdKf zrmURBwrXlBFJ+}JMhDJGX$jtrNyq=LUy*brE2Cw4=Xfjxmso#)510mBfB zF=;oQ6Lp?iTXrG3E-eY~JZH=pX_3N^20{Cm^e7|rDC0K#fC=q0LRDGe9?n@lexFDPW$*{ z3TNUX=wa?NsETv#e`o;MI}~(1#KZ_5U~wFYg^U z+fOS|ad$v`d1c-ezWMy<3dVEr@-MNXn0Ll~e(-k2G2X+ijFRc)y`qvFVe~3kt_Wfs zHZbIQ!`d`@HPE^sq-7FS)+bcQ+v=-t#Gz72*KmL9wEX=6IQsZv&Uul~_sjb5Hf|@?!w* C&nfr- literal 1313 zcmZ?R*xjhShe1S2b=vdAllRFf=Oz}Hq!uZZBqrsgaw&(WrYHob7AP24Dj1qsnOInv zm@7ED28SpZ85o&y>FbpgrKZ{%nQ|rPq$U=*q~??)#^)EM>!l{=WEK>s>ZPP6m8R<@ z=NF~gmK2qy;#XFhiC0lpN(o_;K#IVY5;O|pG$QQGNi5Av&dAJ5$7^J+Q7U2AtFf_I@0A@+c(fo+5A^-pY diff --git a/.metadata/.plugins/org.eclipse.core.resources/25.snap b/.metadata/.plugins/org.eclipse.core.resources/25.snap deleted file mode 100644 index 1924734cacd5219b4dc31139a1dc8a4fc0324e5f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2734 zcmdT`O=uHA6n>lkOj4WvCADg$NI?WE9`xL_O0D)!BI2z~nrXXry9v9AHHe3v1mmsZ zSrEL4iU@j8L=Xf|UW9t^;;ATl>aiE!{A5VU^aolLhcL4X?|bii-@f-IgD+~!$KFC` zPyd6pM=S4oL%~1*#3BdfS>FSX`ICh|%YxRN?Kstownt~#K+&5E1|XQXT|C+ri-n5A zPTKBlabU)wzK`aRMW@!oyBqy^>5dTTi@%X1KoEU!yP>+>DPA_3?a_UMu`oh#EaJ2zyYy{vEvJdq|}qy->#-eHT(E&E2$ z9c765Y0v?H(1KrdjjSRPz;_b0pe0+fFR`lM%x7XlT5=9h|6VD8h-16gnP+q!l@Pv@ zm<42<+HSMw{-@H6AW=;kJ%=krTC$CfV-mr45)VThSsVO5msX?|&$@zb0LfwMILtEu zUMm0w*MN3__++JQu>PQ|(WSQTK-yT81yO;zvg#!emk7QS5`nG}yL_RN&z9)SJTs^8 zNg@cc&@nmzIwW#zWNOTe`>b%tN8`Ex+9hs$^okkwMZqwHhNS_zCriw|$~>QCD+Rmg zo55cd7~^PgrV%{4NaxrV;BN|y(KNUlAU$Q@qB(&m}4=$XCd+4jbtyShX zei%WUYo-1NkR$uARpwVt1`=BF>l7DB|4&-=&EHnExmHp2e02Y{>YH1Y&V^R|#>Yi^ Ho3#1^C}t(Y diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs index 4b54bf5..a2e2ec3 100644 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs @@ -1,20 +1,3 @@ eclipse.preferences.version=1 -org.eclipse.debug.ui.MemoryHistoryKnownColor=235,235,235 -org.eclipse.debug.ui.MemoryHistoryKnownColor,defaultValueBeforeOverriddenFromCSS=0,0,0 -org.eclipse.debug.ui.MemoryHistoryUnknownColor=170,175,185 -org.eclipse.debug.ui.MemoryHistoryUnknownColor,defaultValueBeforeOverriddenFromCSS=114,119,129 -org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND=150,80,115 -org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,defaultValueBeforeOverriddenFromCSS=255,255,0 org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\n\n -org.eclipse.debug.ui.changedDebugElement=255,128,128 -org.eclipse.debug.ui.changedDebugElement,defaultValueBeforeOverriddenFromCSS=255,0,0 -org.eclipse.debug.ui.consoleBackground=53,53,53 -org.eclipse.debug.ui.consoleBackground,defaultValueBeforeOverriddenFromCSS=255,255,255 -org.eclipse.debug.ui.errorColor=225,30,70 -org.eclipse.debug.ui.errorColor,defaultValueBeforeOverriddenFromCSS=255,0,0 -org.eclipse.debug.ui.inColor=140,175,210 -org.eclipse.debug.ui.inColor,defaultValueBeforeOverriddenFromCSS=0,200,125 -org.eclipse.debug.ui.outColor=235,235,235 -org.eclipse.debug.ui.outColor,defaultValueBeforeOverriddenFromCSS=0,0,0 -overriddenByCSS=,org.eclipse.debug.ui.MemoryHistoryKnownColor,org.eclipse.debug.ui.MemoryHistoryUnknownColor,org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,org.eclipse.debug.ui.changedDebugElement,org.eclipse.debug.ui.consoleBackground,org.eclipse.debug.ui.errorColor,org.eclipse.debug.ui.inColor,org.eclipse.debug.ui.outColor, preferredTargets=default\:default| diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs index f01384c..ccc96c7 100644 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs @@ -1,158 +1,10 @@ -content_assist_completion_replacement_background=200,200,0 -content_assist_completion_replacement_background,defaultValueBeforeOverriddenFromCSS=255,255,0 -content_assist_completion_replacement_foreground=200,0,0 -content_assist_completion_replacement_foreground,defaultValueBeforeOverriddenFromCSS=255,0,0 content_assist_disabled_computers=org.eclipse.jdt.ui.textProposalCategory\u0000org.eclipse.jdt.ui.javaPostfixProposalCategory\u0000org.eclipse.jdt.ui.javaAllProposalCategory\u0000org.eclipse.jdt.ui.javaTypeProposalCategory\u0000org.eclipse.jdt.ui.javaNoTypeProposalCategory\u0000org.eclipse.jdt.ui.javaChainProposalCategory\u0000 content_assist_lru_history= content_assist_number_of_computers=15 -content_assist_parameters_background=52,57,61 -content_assist_parameters_background,defaultValueBeforeOverriddenFromCSS=255,255,255 -content_assist_parameters_foreground=238,238,238 -content_assist_parameters_foreground,defaultValueBeforeOverriddenFromCSS=0,0,0 content_assist_proposals_background=20,22,24 content_assist_proposals_foreground=252,252,252 eclipse.preferences.version=1 -java_bracket=249,250,244 -java_bracket,defaultValueBeforeOverriddenFromCSS=0,0,0 -java_comment_task_tag=154,140,124 -java_comment_task_tag,defaultValueBeforeOverriddenFromCSS=127,159,191 -java_default=217,232,247 -java_default,defaultValueBeforeOverriddenFromCSS=0,0,0 -java_doc_default=128,128,128 -java_doc_default,defaultValueBeforeOverriddenFromCSS=63,95,191 -java_doc_keyword=154,140,124 -java_doc_keyword,defaultValueBeforeOverriddenFromCSS=127,159,191 -java_doc_link=169,156,140 -java_doc_link,defaultValueBeforeOverriddenFromCSS=63,63,191 -java_doc_tag=30,120,155 -java_doc_tag,defaultValueBeforeOverriddenFromCSS=127,127,159 -java_keyword=204,108,29 -java_keyword,defaultValueBeforeOverriddenFromCSS=127,0,85 -java_keyword_bold=false -java_keyword_bold,defaultValueBeforeOverriddenFromCSS=true -java_keyword_return=204,108,29 -java_keyword_return,defaultValueBeforeOverriddenFromCSS=127,0,85 -java_keyword_return_bold=false -java_keyword_return_bold,defaultValueBeforeOverriddenFromCSS=true -java_multi_line_comment=128,128,128 -java_multi_line_comment,defaultValueBeforeOverriddenFromCSS=63,127,95 -java_operator=230,230,250 -java_operator,defaultValueBeforeOverriddenFromCSS=0,0,0 -java_single_line_comment=128,128,128 -java_single_line_comment,defaultValueBeforeOverriddenFromCSS=63,127,95 -java_string=23,198,163 -java_string,defaultValueBeforeOverriddenFromCSS=42,0,255 -javadocElementsStyling.darkModeDefaultColors=true -matchingBracketsColor=249,250,244 -matchingBracketsColor,defaultValueBeforeOverriddenFromCSS=127,0,85 org.eclipse.jdt.ui.formatterprofiles.version=23 -overriddenByCSS=,content_assist_completion_replacement_background,content_assist_completion_replacement_foreground,content_assist_parameters_background,content_assist_parameters_foreground,java_bracket,java_comment_task_tag,java_default,java_doc_default,java_doc_keyword,java_doc_link,java_doc_tag,java_keyword,java_keyword_bold,java_keyword_return,java_keyword_return_bold,java_multi_line_comment,java_operator,java_single_line_comment,java_string,matchingBracketsColor,pf_coloring_argument,pf_coloring_assignment,pf_coloring_comment,pf_coloring_key,pf_coloring_value,semanticHighlighting.abstractClass.color,semanticHighlighting.abstractClass.enabled,semanticHighlighting.abstractMethodInvocation.color,semanticHighlighting.abstractMethodInvocation.enabled,semanticHighlighting.annotation.color,semanticHighlighting.annotation.enabled,semanticHighlighting.annotation.italic,semanticHighlighting.annotationElementReference.color,semanticHighlighting.annotationElementReference.enabled,semanticHighlighting.class.color,semanticHighlighting.class.enabled,semanticHighlighting.deprecatedMember.color,semanticHighlighting.deprecatedMember.enabled,semanticHighlighting.deprecatedMember.underline,semanticHighlighting.deprecatedMember.strikethrough,semanticHighlighting.enum.color,semanticHighlighting.enum.enabled,semanticHighlighting.enum.italic,semanticHighlighting.field.color,semanticHighlighting.field.enabled,semanticHighlighting.inheritedField.color,semanticHighlighting.inheritedMethodInvocation.color,semanticHighlighting.inheritedMethodInvocation.enabled,semanticHighlighting.interface.color,semanticHighlighting.interface.enabled,semanticHighlighting.localVariable.color,semanticHighlighting.localVariable.enabled,semanticHighlighting.localVariableDeclaration.color,semanticHighlighting.localVariableDeclaration.enabled,semanticHighlighting.localVariableDeclaration.bold,semanticHighlighting.method.color,semanticHighlighting.method.enabled,semanticHighlighting.methodDeclarationName.color,semanticHighlighting.methodDeclarationName.enabled,semanticHighlighting.methodDeclarationName.bold,semanticHighlighting.number.color,semanticHighlighting.number.enabled,semanticHighlighting.parameterVariable.color,semanticHighlighting.parameterVariable.enabled,semanticHighlighting.staticField.color,semanticHighlighting.staticField.enabled,semanticHighlighting.staticFinalField.color,semanticHighlighting.staticFinalField.enabled,semanticHighlighting.staticMethodInvocation.color,semanticHighlighting.staticMethodInvocation.enabled,semanticHighlighting.typeArgument.color,semanticHighlighting.typeArgument.enabled,semanticHighlighting.typeParameter.color,semanticHighlighting.typeParameter.enabled,semanticHighlighting.typeParameter.bold,semanticHighlighting.restrictedKeywords.color,semanticHighlighting.restrictedKeywords.bold,sourceHoverBackgroundColor,javadocElementsStyling.darkModeDefaultColors, -pf_coloring_argument=221,40,103 -pf_coloring_argument,defaultValueBeforeOverriddenFromCSS=127,0,85 -pf_coloring_assignment=217,232,247 -pf_coloring_assignment,defaultValueBeforeOverriddenFromCSS=0,0,0 -pf_coloring_comment=128,128,128 -pf_coloring_comment,defaultValueBeforeOverriddenFromCSS=63,127,95 -pf_coloring_key=217,232,247 -pf_coloring_key,defaultValueBeforeOverriddenFromCSS=0,0,0 -pf_coloring_value=23,198,163 -pf_coloring_value,defaultValueBeforeOverriddenFromCSS=42,0,255 -semanticHighlighting.abstractClass.color=62,171,230 -semanticHighlighting.abstractClass.color,defaultValueBeforeOverriddenFromCSS=139,136,22 -semanticHighlighting.abstractClass.enabled=true -semanticHighlighting.abstractClass.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.abstractMethodInvocation.color=128,246,167 -semanticHighlighting.abstractMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.abstractMethodInvocation.enabled=true -semanticHighlighting.abstractMethodInvocation.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.annotation.color=160,160,160 -semanticHighlighting.annotation.color,defaultValueBeforeOverriddenFromCSS=100,100,100 -semanticHighlighting.annotation.enabled=true -semanticHighlighting.annotation.italic=true -semanticHighlighting.annotation.italic,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.annotationElementReference.color=235,75,100 -semanticHighlighting.annotationElementReference.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.annotationElementReference.enabled=true -semanticHighlighting.annotationElementReference.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.class.color=18,144,195 -semanticHighlighting.class.color,defaultValueBeforeOverriddenFromCSS=0,80,50 -semanticHighlighting.class.enabled=true -semanticHighlighting.class.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.deprecatedMember.color=128,128,128 -semanticHighlighting.deprecatedMember.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.deprecatedMember.enabled=true -semanticHighlighting.deprecatedMember.strikethrough=true -semanticHighlighting.deprecatedMember.underline=false -semanticHighlighting.enum.color=204,129,186 -semanticHighlighting.enum.color,defaultValueBeforeOverriddenFromCSS=100,70,50 -semanticHighlighting.enum.enabled=true -semanticHighlighting.enum.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.enum.italic=true -semanticHighlighting.enum.italic,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.field.color=102,225,248 -semanticHighlighting.field.color,defaultValueBeforeOverriddenFromCSS=0,0,192 -semanticHighlighting.field.enabled=true -semanticHighlighting.inheritedField.color=143,143,191 -semanticHighlighting.inheritedField.color,defaultValueBeforeOverriddenFromCSS=0,0,192 -semanticHighlighting.inheritedMethodInvocation.color=205,246,104 -semanticHighlighting.inheritedMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.inheritedMethodInvocation.enabled=true -semanticHighlighting.inheritedMethodInvocation.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.interface.color=128,242,246 -semanticHighlighting.interface.color,defaultValueBeforeOverriddenFromCSS=50,63,112 -semanticHighlighting.interface.enabled=true -semanticHighlighting.interface.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.localVariable.color=243,236,121 -semanticHighlighting.localVariable.color,defaultValueBeforeOverriddenFromCSS=106,62,62 -semanticHighlighting.localVariable.enabled=true -semanticHighlighting.localVariableDeclaration.bold=false -semanticHighlighting.localVariableDeclaration.bold,defaultValueBeforeOverriddenFromCSS=true -semanticHighlighting.localVariableDeclaration.color=242,242,0 -semanticHighlighting.localVariableDeclaration.color,defaultValueBeforeOverriddenFromCSS=106,62,62 -semanticHighlighting.localVariableDeclaration.enabled=true -semanticHighlighting.localVariableDeclaration.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.method.color=167,236,33 -semanticHighlighting.method.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.method.enabled=true -semanticHighlighting.method.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.methodDeclarationName.bold=false -semanticHighlighting.methodDeclarationName.bold,defaultValueBeforeOverriddenFromCSS=true -semanticHighlighting.methodDeclarationName.color=30,181,64 -semanticHighlighting.methodDeclarationName.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.methodDeclarationName.enabled=true -semanticHighlighting.methodDeclarationName.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.number.color=104,151,187 -semanticHighlighting.number.color,defaultValueBeforeOverriddenFromCSS=42,0,255 -semanticHighlighting.number.enabled=true -semanticHighlighting.number.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.parameterVariable.color=121,171,255 -semanticHighlighting.parameterVariable.color,defaultValueBeforeOverriddenFromCSS=106,62,62 -semanticHighlighting.parameterVariable.enabled=true -semanticHighlighting.parameterVariable.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.restrictedKeywords.bold=false -semanticHighlighting.restrictedKeywords.bold,defaultValueBeforeOverriddenFromCSS=true -semanticHighlighting.restrictedKeywords.color=204,108,29 -semanticHighlighting.restrictedKeywords.color,defaultValueBeforeOverriddenFromCSS=127,0,85 -semanticHighlighting.staticField.color=141,218,248 -semanticHighlighting.staticField.color,defaultValueBeforeOverriddenFromCSS=0,0,192 -semanticHighlighting.staticField.enabled=true -semanticHighlighting.staticFinalField.color=141,218,248 -semanticHighlighting.staticFinalField.color,defaultValueBeforeOverriddenFromCSS=0,0,192 -semanticHighlighting.staticFinalField.enabled=true -semanticHighlighting.staticMethodInvocation.color=150,236,63 -semanticHighlighting.staticMethodInvocation.color,defaultValueBeforeOverriddenFromCSS=0,0,0 -semanticHighlighting.staticMethodInvocation.enabled=true -semanticHighlighting.typeArgument.color=177,102,218 -semanticHighlighting.typeArgument.color,defaultValueBeforeOverriddenFromCSS=13,100,0 -semanticHighlighting.typeArgument.enabled=true -semanticHighlighting.typeArgument.enabled,defaultValueBeforeOverriddenFromCSS=false -semanticHighlighting.typeParameter.bold=false -semanticHighlighting.typeParameter.bold,defaultValueBeforeOverriddenFromCSS=true -semanticHighlighting.typeParameter.color=191,164,164 -semanticHighlighting.typeParameter.color,defaultValueBeforeOverriddenFromCSS=100,70,50 -semanticHighlighting.typeParameter.enabled=true -semanticHighlighting.typeParameter.enabled,defaultValueBeforeOverriddenFromCSS=false -sourceHoverBackgroundColor=68,68,68 spelling_locale_initialized=true typefilter_migrated_2=true useAnnotationsPrefPage=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs index 88d3353..0c4d288 100644 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs +++ b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs @@ -1,6 +1,6 @@ IMPORT_FILES_AND_FOLDERS_RELATIVE=true IMPORT_FILES_AND_FOLDERS_TYPE=23,1 eclipse.preferences.version=1 -platformState=945728594589462 +platformState=945730117414574 quickStart=false tipsAndTricks=true diff --git a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi index 470a692..5118f45 100644 --- a/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi +++ b/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi @@ -1,8 +1,8 @@ - - + + activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration - + @@ -11,9 +11,9 @@ topLevel shellMaximized - - - + + + persp.actionSet:org.eclipse.mylyn.tasks.ui.navigation persp.actionSet:org.eclipse.ui.cheatsheets.actionSet @@ -80,97 +80,97 @@ persp.editorOnboardingCommand:Show Key Assist$$$Shift+Ctrl+L persp.editorOnboardingCommand:New$$$Ctrl+N persp.editorOnboardingCommand:Open Type$$$Shift+Ctrl+T - - - + + + org.eclipse.e4.primaryNavigationStack - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:General - + View categoryTag:Java - - + + View categoryTag:Git - - - - + + + + org.eclipse.e4.secondaryNavigationStack - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Mylyn - + View categoryTag:Java - + View categoryTag:Ant - + org.eclipse.e4.secondaryDataStack Minimized - + View categoryTag:General - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Terminal @@ -179,2395 +179,2393 @@ - - + + View categoryTag:Help - + View categoryTag:General - + View categoryTag:Help - + View categoryTag:Help - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:Help - - + + EditorStack org.eclipse.e4.primaryDataStack active noFocus - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor + active + activeOnClose - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - - + + Editor removeOnHide org.eclipse.jdt.ui.CompilationUnitEditor - active - + View categoryTag:Java - + ViewMenu menuContribution:menu - + - + View categoryTag:Java - + View categoryTag:General - + - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:General - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + ViewMenu menuContribution:menu - + - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Mylyn - + ViewMenu menuContribution:menu - + - + View categoryTag:Terminal - + View categoryTag:Java - + View categoryTag:Git - + View categoryTag:Java - + View categoryTag:Ant - - + + toolbarSeparator - + - + Draggable - + - + toolbarSeparator - + - + Draggable - - + + - + toolbarSeparator - + - + Draggable - + Draggable - + Draggable - + Draggable - + toolbarSeparator - + - + Draggable - + - - Draggable - - + toolbarSeparator - + - + toolbarSeparator - + - + Draggable - + stretch SHOW_RESTORE_MENU - + Draggable HIDEABLE SHOW_RESTORE_MENU - - + + stretch - + Draggable - + Draggable - - + + TrimStack Draggable - + TrimStack Draggable - - + + TrimStack Draggable - + TrimStack Draggable - - - - - - - - - - - - - + + + + + + + + + + + + + platform:gtk - - - - + + + + platform:gtk - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + - - + + - - - - - - - - - + + + + + + + + + - - + + - - - + + + - - - - - + + + + + - - + + - - - + + + - - - + + + - - - - - - - - + + + + + + + + platform:gtk - - - - - + + + + + - - + + - - + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - + + + + + + + + + + + - - + + - - - - - - - + + + + + + + - - - - + + + + - - - - - - - - + + + + + + + + - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - + + - - - - + + + + - - + + - - + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - + + + + + + + + + - - - - - + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Editor removeOnHide - + View categoryTag:Ant - + View categoryTag:Gradle - + View categoryTag:Gradle - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Debug - + View categoryTag:Java - + View categoryTag:Git - + View categoryTag:Git - + View categoryTag:Git - + View categoryTag:Git NoRestore - + View categoryTag:Git - + View categoryTag:Help - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Debug - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java Browsing - + View categoryTag:Java - + View categoryTag:General - + View categoryTag:Java - + View categoryTag:Java - + View categoryTag:Language Servers - + View categoryTag:Language Servers - + View categoryTag:Language Servers - + View categoryTag:Maven - + View categoryTag:Maven - + View categoryTag:Maven - + View categoryTag:Mylyn - + View categoryTag:Mylyn - + View categoryTag:Mylyn - + View categoryTag:Mylyn - + View categoryTag:Mylyn - + View categoryTag:Mylyn - + View categoryTag:Oomph - + View categoryTag:Oomph NoRestore - + View categoryTag:Plug-in Development - + View categoryTag:General - + View categoryTag:Version Control (Team) - + View categoryTag:Version Control (Team) - + View categoryTag:Terminal - + View categoryTag:Help - + View categoryTag:General - + View categoryTag:General - + View categoryTag:Help - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - + View categoryTag:General - - + + glue move_after:PerspectiveSpacer SHOW_RESTORE_MENU - + move_after:Spacer Glue HIDEABLE SHOW_RESTORE_MENU - + glue move_after:SearchField SHOW_RESTORE_MENU - - - - - + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.metadata/.plugins/org.eclipse.jdt.core/1865797976.index b/.metadata/.plugins/org.eclipse.jdt.core/1865797976.index index 028da6fc9a782d7b35392263ece3ec63ffa3e107..31fc136972cf4e1296fda30fb41c74d05797d812 100644 GIT binary patch delta 2444 zcmZ8jOLH4V5FTkCT1i&kPHZO-^1wK7ZyP2JJqSGEy z6jwlp9CPDD1*$mkL*NhaH#jJK(=#gtRP|Nu?sWI`eEoHg{`vDwG#>Yb5<0(H9k}=k7G@09v(*Z4ahDzmykTAjflr7we)ppsxw{x(b z$7IpW3+vTVyq^eOl3`1VXQe0<**JTpdFX6qQP~@bREYt+9Ok%__0EOL$@)*o&8fq> zPxvvf1B*mxpZawN?nstG`=Q`68j^E!(5G)+oT{(C(bm|(+t@0UwH;(7GPD~rC(1_T z*Y1UiE80T)Pi}V4SAnMBJ|78+*gi}$j+hjcG4G2w5rtXlXBiHi+7ri6@&#Z#OQ~XSRMfZT{_@bSPwOGyoNplEPN3 z^#pPE`E$ch_;C03i%8`97}m3U+bH2+oX^XcNumsl1&1J4r%nM{(9)M;Y%&XwXr85o z;oeDOBY*cei?tFx)@Xk2xXk%#e}|m$uuBh~7J{WBN@B2TvNKwmb3QrcovS?3NzJyK zWK>NpbGD$V2i@}|{30u5WD=snY|g{`+Lbue8gA&r>c(uCo@?l4dCNRdII^i7aCszd z=oX>fT+IX-wQC_8!;Z;&@~gL4%|u;`H|LU5z$pv*VyeROOc3adX?7tZF` ziApI!6ZA?6xU+(s*~>-x2x=GWqF%KLIK{JM79|mnk9i_WGkAQXaJ|Z0 z){HZ2=Vaw4F{jS6JL}|{_X!VHdO;zSLRV_@ z>7;5cUF(MYP&@)v@<{W+SZ7P*QbcIS*-$&tzIfGz{tW4Q5=c`Hf0HL@cw*+tt1Evm ztp+W0s7NC*IUQWSv@Rtdzni;hFthu5W2N%q5hgYHcl1;dk?s$A59%pESy3}#P|#A# zHYTmKE$5c?-liTWk7)+ldg{@G)*)9{D*=95h)x>N%zVohU)|cczF3h(&s++-cOLBG z$n?ph{j68ZGK*IdXPbrsOmCVE^7=p+M|N!0ra>(5_tg#kh#Plp0}jn#M-h(41_bY8ZA^T$BE0L>|tU^@A|dA4fX z=BQ`!=Bz4qx4_JGBP-Ay6{hEGm3v2Cy?Hp*>ml zPkid?(!okBS-~cY*0Y1{ P@K>k)65`Xv*WdjM)A4hp delta 2432 zcmZ8jO>Y}T7+!ln>|HyQq)n4jAbgep6++^KgesDzkd%IA0}?6~8m}kzrt4jIb~ddg zBp-S};?&BAo>0$7s68S61`_-YZk#wIJnuWRZiS^snwg#V`+48-gTJ0O{{8c5~8(PD=|2iwa+k93Pj|gqIOX#Znzgbv&hS?Ms;)!EDJo{B$G+l9%2Mp@+N* zck-cBsg`|q#P6kf-&}7gSyma#!pi1WsTE7OQklict780FtW}y1&hO+}4y3xkHzGJY zRTP{Jr%hU~iIFkh9G9@wY&4yqEGm_lQ#UC_kcKIpYGuw^`&l8hRnqMDjQup%koTMh zQV}4dcO->>?6_r>vxc_3pG=1$=U|T3$-|IxWa7?B|jkqrkfT>Ab+!{g4DUloAtrr;YrM zi@da<#)-&t6pl27CiTJ=F34m);CdZ75vjS}JCI3jt0^-UYN|S|%U`6~XLde1v+8bG9tK&F57@ybsI~O?^Pd)1rVR>`qVO~VW)-boQGjtdJ}?6thQ^Hp z{u*2qS!P{#iyj>wIl-P#15OA_1cvdog24DhhDalrWNrG@MuD2zT{HxvU#J9^NZAsF zyG+n{p7j>O`btj9*~i}U?4M|Hw$eT|Op4sF0@pQq0oAIV@UEm~oyBloOKaLA&T@Dm zt;T2_(-&=O#pl!>i?X~|sQ&D`Xm#qsb(Zl_0((Cgixl%c|F>24PN$+pP*Ae1p4TJBjB-T3B}|JTZ`l<9#kRn*QTGmBbT zn#eqnvp=Hc=|yk>jbkW4aYkEmtYm@|(D>sDaOgCvjCGH)z)pKgj?Faps7QQ9v#MV5 ztg5v{L_1@OF9tLxH*&5L><00q#N@$k@&XJ|Vq_T7nMXU%TvSi-t<6~#oS!c4V9>-x za!2Zoejn5_k{*pOtI;P4nE>3PsyW{MGS%Bv@9NH8-TyuYKN~)VOH!zW9tFG`W-Qo@ zw`_%=+i_ZQ$*{;;@~A^+zXWTaq!?vN$9GL7JZbz9|o(lGvAtn*~7-^kGkd!ePPD7Z3EPEvSnW_GCaEw zoSiOgsT7arRguFTdTyyY;CtQr?$^6J#>>mdHC7mNW*X34JV__!Gv-DC;?byQQbF(v z3ogbIe+5!KnNygL+ojYx{WKrgQXUp55z==WO+0cQm7`YGi7^bm0b$gD;(&p?7|pt! z)pOo~I21TwN?{OT6teP=n*zDxj(D&h{kR@AfF|Gq9^eB3&;r^(2++L_&;=HNmw*$% z%fKSA1e^p;0n5N?U9H!-3+`04`k?JlQ3!(nV3-kL+%#eAteK2e#3 z!X8eNardFT95N$C!8jFSTx_}MD>md?pW%>e?eMd9 z*K01nXgHnFZF^h?3R)C7nHkfCzWK=R+^dJa>+MumywKTk{7;$aNmAjSh>}l{u^eeq zq(H_%XM)F^7XIzSSSLU#azTm9`|4}sI9i$^SVYJd@Htpv~BBL)C?ssUQ3%H)hCTaK*`F6t&ce&=F8~TnWKxI7} zpe#;1 zWEGEU27aX&pgH4E$kl@htw!SKDDLwv6(*!PgtCaVr3HNK!#G;NM`5zs4JF%>D*tl^7#TweU}9xmQ6SGb4@FOe;u&Olh@L~9 ziU>^?f7-N$;Ljt-%Z%y6b**NIyrvc>zeWD(8}nuM#CO^*t(gSi`*b z9{%XVWUOakugX~M&~LwyR0KTx@mXUzl-g>J_X zLa8OS%w)ByE4mOySm3Tk+NszQGKFt$LBVrg@C6pV5jY__Rdf#%xVUmw))AC4GS8-* z7g*>*=W*BZ_u1M!fZ|ryZShv52iH5ixG3K<0aRTka0DTfx&~Hows8GrQZS@M1A=<@ zphC@!Q~=+cL#czyUAWEkyHHQ__-z3B2g^^S6c&l>p$~bS1sk3hPSr4BM<5MazQDiwWG_(8=O@1dl@3W58*Xml`9VqH|9 zHAQ4}-tkPMl&It=yOo7{>cx0_TbPEc6?H^`Zt3Gg?$CVVhzj)`2D4 zMT~I0r=)ff4TTnonipY|GILA|`$TlAvPgkeW9fztb(!SyY!39c4h_&ir-ZyiMQw2f zWwyY&EW1bY@EJxYTl9p$Qp@pn!rizJv<{IgD}2IxiMV!pr`m&ST!|=RWm}5+wB#J@ zW|Pa1wGdz$s+iq1ZK15OHnGMMwPq+U2T;3=L-j3sNjii#s0*yMY;UKg8lwuOvr7MW zl2Z95rAC_+W{eM$1iGT>hU9caJ^5~huV+VWYZbFbbE}ptlLPqR^{PbO@(H|cCg+Vm|e1E|sg zRQ1ku1de04895?FkGpOz_yXRK#mI2V0o)WmOVKcWQQ*J+%G~)b?Hi4A5`&(>M|?IS z(#*s>j|IyK%m^2zh{@D~>KxuhsuYFL?>~PdQ@(;*D$!K}nOR~Q9BF*2K#ah52s1pg z%(O!D9wcE3GkHv!XH*0!6!G5_+>~a056M%K z$hK&+bGRwyV5DO9MY0~uFnx?fTq&gL!!0c`=S;(5c#0*K?QdnM&ZRQPIFgn=INSmJ zoZ@jfCDN#X4aCXE%Wpa zrKFiq*tg2fZ2V)fUapFZa8>j!Ro(_vS#u$?Ju*X-6(gA85Nh!nFapmB%qAAgQ9N~u zasC|Akcx4up?B}vrY>hjf(*D+a`$Q6E~mFkL-+gXUA&Ht0Z=j z@jd)dkV~R^>CJc&fJopI5w^zwooE*wp|{>r8Z(lOsg=YZA$|TDNs?{ zS!=+{(CuObHK>(^RTqU548?vF0yTWgn1I0~^cCO7$04Z%Y&QgOLM&LY+`^Dkg%b@NE3a0dlfxI!iTA?{P9qZ3V zkV^`mOu&U{w01bmrh}_PKyD4L%PHVE4omAmj}d!pCqVY}5r+|gijY48vZb*9@u+XY zvVt%QwP*57LBk!Bn04~VL*Z#ry;5s8t5-V6t&VfbYKM*yN$?TCn{ZF;?=95~DM^-P zZaqW`ySSLau@2#5YH3o<@8!HJjQ14oGF~;bD!Q*3nzJ9l2U2;~wWfy@eKgm!55JM* zq8Cmx@Qnti@4+XMKHlgIVT+mN1U{6^vY8vgX7SNp!d=ObY>|dA#>P8^kK^p35gvv2 z7=9~xQ~miU{0DGb3jw($yquGJ@Wc>)qs9O?+fiiaD7OsJL#Na%<}Tn@a&z#14)dB9MshzN=okbnX2lQk4Z|rb z4zPAiLs^_xa>y6K$x3wi7zYfmC1aY9*E0}Ho(viOGEaV?pMAKYDnn#D!I{{CG4ksv zKXGE&$69w#ZFw>v+7ty>PjMB6;W%SSgbD$g@g;mhwLTn0m8fQFoiF1T>NjC`9cItA&Pa%mX%OsPIzfj~UB4*+)f@P6&hY7+-MqFp`@v6GBU|E{= z4D2{L#w%uV0S`618iL3mLZ1qgrHp+D3!1c8m|RKDF?*J57rDbhULaRW$sIJRoM6QR3^NFFHsqG??pCaK`&!-VaID{8^MY}UX#`CEgp)YBy*C1f3>|MaTIMEzo+<2wA zx5qAdS?oreskDhElxzFd*Ou+?1e83YR`p?3MHR0tBf3pQSvreP;I3Xd<13{h781pC z0Dp*lom{sK?0W8v;OJ9$fa2LzwjZ32D(DCB$4J-I>i^@FJz&*CF3?vrMtl`Hg~!Uz zSI?lK&c^+hirlMvdQ(_${x#i4HdB{2DcVJ#6>)j6s=ebA_>`^JWTc>qYXw_M_1eBH>yH2vWhGqM@zMvk1xg}d#DInx(YZ8!Wrp^K;8gxSY?wY*>iSxb0tB1*}dfIseors{QmmmQ%_K?E%A}|!s zE2lH)V|W|?pD^!??>XUaySd~v=yKRGRPfne@tV$y`jf|K^f#c)DK?#L)cCGO@R$fH z-@~M0dCYjG{);^9f;!`w!aGiMuEmF#o`rG#kw0JiJ51vogV66b!nQA7{u8o3jd$Z8 yctfV!aeOA}opYGdXxY1&yD$|^VWZW>OKLa&qUls;I#vG-j@5$JxCo_ZrrAr`c;cAGz&~PW_4f)GicZqT_8^zT0Z;JaIjH!?Bv{ z)~shgYyEL8umfjq<|k#S%(t9vryck=icovvciPsyuKSgkKE_>y1j$q%8t+r0A7JwuiHe0A0d@B zb&mg_vgrh0uP$1*@p-vesSc0SM)~II(wrn2UPSF5cjjiSTSzpN8-gk_88YZ{$=-JO zxfW8|Mr&Eb3F>2`p4ODP$mqRha~@46r&+gInUd$&P3so^K7}gz1r4{R@v;vQ>N|Mr z42qqeU_6G(BhNwaG3zmuXImXyO=&wOjBYtWfO{a!1_+?g3)~iJG?FhAOJ!+#snK## zAzrg8T{ky_muSRV!)~`74=+%?RmbnOf;ERo&tY`Y^@F>T{&N&s4Mi5v3LlA%q3SV{ z9r#F5k}JOY(C*${3p}^IIl0gdoK463oT;xH55#j4Jd`g(l|rP8n<&H%f4R22w7mYr zX#_}6&Z}MAa9g<5!4^t8g}mFQr?s4EZQ% zOg2hO>05>sBMZy=HdB_REu?Y*(*sTKcG^Cz)`#In&-2jDcGu+_ig!++ z@U-JLktv@WDnOZ17Af$_DO6gvACMY&bq>{go@ejS1|xA<1xnEkoNe02(BEC#_n&pV zCdip1ie338V`cc;LSS>?aFlAM}xxe+;SUEyWt>vSw&)T zX3h^hDUkEAjTKPjV}aTRJ{pZU7IG{=>09;;&lS1mv)u)XJ6cKAhy2&83;3iDIf|z$ zMvJt#KuoMb9*}5}e-1(J3Ck&Rlfiox&A@6>p(Zs?V2I=E9P*AQYFZ)K>561An#QnE z9BXSUi#p5Ya>c+6JW^QcJFGTVmdz2PaYohQJx3>ta#s<%|Lu1|Ij6;c^S(~(Ja%Ce zV0r*IxP!L}=#fz<&<-$D(WZ`wKlh4*?KZ}b3e1Y^NMggw4{U$S5LeY!(ECa@w20mKcK+d5vZoB?$d?3Z=I5T#PE`tZ&%8 zqo$SDdu~gNLwzVWA~Q`9168_LO*<(21g>{Q%?qs~<=F+4+>)iz#c3nhV27N6x|&7_ z=Mc_dSbNP8jfSpplEVvZnpLFVzL~Q(pGwoCpHg9Ul9nr->5tL zq=geJI!yQUVwYx2a$&vz=yX?6qhXZgyx1`m?PgOjs^SbV4wG20>PGdeb4jjqt*@sv z*lv^{okv%RH{(*paimVi5%%?maRO7(Wb-~6P)~6# z5nXhj4^a_sG}r6#-hK`rT&_wu{T;&V>Exn5AH&=6$GB#sJ)I>? z?$Oi2L6%Cw4KLxXxG-uVb$m+WATD>Bq!7!Ab0SjoF&uLPY&+I;80Fx=v9Z2|-47YD zl92+kZ{Zaah$c%<$Ka-xKtBoEBtf@O~sD zvMJBurre?g4X=&@|Mh3yy|?LL7&k}JkTu8fk+4PvRywgrTdC(EOvoKe5R+#m)hWD< zR0#^X_P_r^i@${1IB@zLS zR3~uT2-T^yWiei5-{Vt&iruM%`Kc?hI>K|f+%CLB0h&#TG&({>nYn;ii#>qpl(@=X zMKkWhooEUU?tyc7hvNM`3qw1xRcaGn!iGxRJCvj8gwns0!p*6FEbjf2I0#M3d2><> z0FylFsPqrr5T?lhZrFo*v?vU~a|pL$&2o^PI>I=A3dT97l+nhMCvXGm2myq2Y(QZU z$rDQ|43;?6nI}{eH_5=B(oTwT%p-YXPn>U(M?MpuOT{%3=jQ^AM(E?{Or(!+CiIko z5g8}3O5|u4#V<56lXC1%;3RSMD-{;ZL@#3CUn;H_LoO5GoN@MzABz<#U>q$K6cam5 zngE80w1r3R@MxRFcj7QX1b{P;vg9E(6;8@PEJ~t)P%DXmF$j^HXl@knOG0~zL;H|~ zCqm323SWenT_(JnSEqfAJ|vN+7-STMRP!;gB90G9AgCIJSu~tvKt?GTTRP~O3Nj>6 zS_Aqtfwgp8F%4WZk*y>i8iU?1LaQSsoEvE+0@6lMJQD&Bp-erLF?$j^3?Xz4o@63k z8Ngt;m~K(LSSHw>0ZWB18VV6$Ec-=56qVONV1+<44ND~u_88o0plzwhY#estOpk$L zs&&I?2;W-F_Ukq5(N~H3Tj--0-&zNrx`+Oj+LhBv?Oj8X^5qtCvZa#o;sW*Ofnvu zESdazVrmu=RS&c7VD(l8$SSMhpfRDMoQnlxMa)l36K(n<`b`c$)bDaajkQmu#x?UO z!0H0L3ZK!KYiTn>CM$iKmB*xo*&K@4ho4IYE%I3gi#5x{$MB&dHZ)1{&1@8geRlGV*1~pbl*bBE_9hfo}mRtV< zrj2cpDUrbviO4iv2aRc=>ppy9EUiCU7$_!=;4|f^c)ht;d9m~nd>Um}b!iah!!YtC zfRMo@UEGIH+0H9Qp9p?JI^Ku7@>2+lzW=Zw9#mXH!z zSpwyTOW1;vIVyG!9%xA0C~aZLULu%)BdIhhxd&eu(h}aflB`|0kFxl4lz2@`krP5Q zYNUuLb`J9>>=C_>nEKJu@ZAa8cn%BZ*EBy`8l9$D+?x5e<@QzNO`=8?**mE|Tp**h z;NPLi{Ed&5K=o2QXx1{6E3p@gUQ18f{F*%C(Ic3apW9fL(V|iWVHvJ-f2y6nyX3S59EDMK%TmGtUo@QF4&I@ero`#F3Q z-xFD{Q+ThqAqNP<%CDg?k#WMv5-D~=mX%|eL5;*KEfpq%sT9rp16b1KDPGRA6uGQ6 zVTc*JU060PvQ}&|=G060DyGa}CS_L11NbWXG1*nJlrxk)Y$oR)!a&gFJZ!#~xNLy@ z+~@Ks)Bi%>r3k}!QZa|7c8P)Yjm8R24U78I!U2*uT0K59d9R*;E7b7GAJe#p{0U}u zq97TSSXCixyj10oJcJcVW>Ft*iBA~0yVD!JG@(37Tf~MRV_=w`!mOtJg$`!Hays;uEd>)SB>vDUx0?LUx0#%Uf}nn@sIxubdzvW%(54tphmt(pjsh%hA$+?bC|gB zI{rVz{|G2;JHb|`Ip;L!`>+G3;kCWcZaUA`9pC7^z4L1r3$1$8>fslt@9sc#!*yEH(2xG{Ka#B8;s5{u diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml index 45cb2a5..8e95157 100644 --- a/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml +++ b/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml @@ -72,24 +72,26 @@
- + - + + +
- + - +
diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png b/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/0.png deleted file mode 100644 index aba8b3310409e8a17815536549cd5d38e891d63c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 817 zcmV-11J3-3P)j^?=Q0tEj6e3dCZcA(`C9E53=D@J>wJTQ%}+stD2N z9Am7zz1f!FKRRyLa}TKT-H={OvR0PEo>WAd|VzH1VgnhIXP%?C04;C8zp zm;0k_q@$F8zTEC(KnN8i1_FWU0VDq=x`5q8C(zO1)Y2=~USzXbLrbT#9k#aODDfNk z^R^)ZnC*Tf0amNEDDr;%Y=KRo5 zMa7z3z&VQwN3twy8PJ!Gz4uC&Agz&LYShSo%?v0Cdx_n2E0xaR)U%hphSAZxMc1>l zbGvdXmEI{rZ8TR#%?tzrk6vLEE2909+rP^)PzwFI(3KS#3Gi538+~D@4<;}<`S3jB z`~!*yoDPR}22>;QE0HLSVvq^&E5YECMI&7aOkingajmcKQj7z?ifv~}r^m=<>I7XHU&pEw)vRSe(N>SRYbh*yM4&=LCYChwa0D|Kl%aeAbnL vN*Eb=aD-AqBax{MXaG$UXcn!n;ue9wKqqIp%}yvX00000NkvXXu0mjf_Zoma diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png b/.metadata/.plugins/org.eclipse.jdt.ui/jdt-images/1.png deleted file mode 100644 index f8696d948481e906be5914fddd951a9dd4cec775..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1535 zcmVkf5FE`0+t|9TE&aS7zW27=tzEkh@R#vTPVc?vyze>B zdC&Vk=dBh~l;XWBW(ktC4UpE-r;CA=$o&$eUNCltNz#v;pgq-l#M6ao2%Aiyc=w80 zffEnVN*gd0VeE`3i2HmWox3(A^{gX}ja;GY-Usxyo0=v^tHBdaE2@etD75NfHfX^l zhCnoq`~E0y_65+{>qm?iWov=jp#jU;{b+)S=>jNtYl)TR=uXn$dQQVoH_MKOISv?e zxQXUMD9+<-=KwBu4MGql#TzWdZNLAiCz#EK%d~ToJ@hRtzQLr|;>G%MJms=M$7wK` z$U2opW|SA26_3PuaSn9ig3x+z3p{j)Qvp!8$u6JwOJ-VpXG0|%7K1uw*4t3)T#iLE z*Q2)d8O$wSic0%JSPg~nM|_C#VMWhs)M0Lk6<6<$ATEeirkG0~I`3`G1R&)Ilz`KS zzmwZF+w0sYwHZ~lhKkKtTD}pSMw@9KaygIozfV&;10*-wGZezf4lgKs1QBe$?@-(I z2|ZwJa2=;d)xw!JR8zpo=P0)=^LC)ly#|B}*+d?57gR&fnQ)`;iei_WqeVC_qR$_p zNMbX|3oYa9)ZJ5_Ly|Vh(LS#%9}zN?+alK*%%AaeiqUX*5FK|s_{H0XVAP*7R_9)Y z@`75`egVyuh#zT-?VSc!Isnz50)*#eSC`pxmGp{|u`$Pl)m7V44F2f3jOLEd6qn0l z&>69#{%y>5JgMren7tWSx_?W4G0ey}qHFL0(+JX5>i8rh07z_|{3x*)5s3*(*F0y9 zvcN-m5DnsZ`%wzEsM;5a1#$G}BPh#vt9`!EfI5dVr&R$UZ){z507S2e9cgKS1a~;| z++%fdv%iy~J%n_L@<9xTvJ+pfPF=>GJ~kFWsrh`V~->Z&WQjh z0U6^d8pK3)#(6$PS;KS`Skng(7n5u(jpv=Q0Pa!C3q*MswF$kUP-=u1TT7JSoUVkD zplMroCj!t-t=b=sff;g?j;lR4(71S1q0&)-B8wAVUw0a?A{=OZPvwaiAHy5XyTA(x z5Bei9-}gu2MCOEyxGN?^(R{uIZ?1Y>RjVj;qxqGi zxININfSX@d1HD$Sj!Tk+mP=nN_K7tmBCCWa7{{GT2cQN;_`;om+R&IU42xX7r0nfm}w!>Kg$YQQ9 z@06IdlkRnvm#c@4Xjz`5{q{w0biUOkRdg9;t_h-a?#Ir4ffJX%Q5To_#On*l$16!9 zdp>-@+mmiLt{}1RS$3SvU)ED5R6Fx%hocve!(51!Rm)LRI+re*1VaWQLArLY!}C`g zWzDdv%hUb$XYX*bLXwUR96I+}Cg9@$lsBz31OvQ>UYE!q=Fq)v&}F`Yvq_l9>Q?^< zrK}+DzTFnHth)8_578+BkfmtXl44P(`<|>9%OzQ<&4i*nBc<8IH7vy&`bI*yOLc&d zAfFD7iCg*(w)bbV$vR`%?s{WH!+lP#FUa3|iU&JYNBJf_40;Z_79@DI-ZIu-Q*nh($ diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/Caller.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/Caller.class index 6eeeb8d49122716d778b426df2a0266772ff0e8a..44729bb9d145d674de7e9d4c1a78220674a1bafe 100644 GIT binary patch delta 315 zcmXAj%Syvw5QV=#O;TG$E0RU57gW4Ztfh#8DFqb-3oc^o{T{6?igZ!Mt%6Sw@*Zvq zlDOyth-;t0XAl&Jb~ES9Vdk58Nqwf0AAj#{V2!$;Y^k!}&IPWT^naJsz4(@^vdUVS zD{b9+k6!N1Yt(a zgv>@{H6j+3lx2lu*t%_mIB%>vX2v#yQhfZ$pr0NFut_n-AXCy$GejPXULkLG`M7LL zCzmKwL3P{?yJ#J^CoU$x6xrthT?nHbawJJ!n8%!8aw?O3ve`|}B+)pZkx=6TPjpxi S3yg4SCb(jQYte#ejl@4hA2+}N delta 284 zcmXAixk>|J6otS0XBLu(j)V|m0un4D!Hk7qF#!{cwBo*R#-R>n)x+;h+2EI;0hSNQ(>90A)rMTJCq(P%xI^d+34mkgvRrnwr2Qi>*SGB#rq zzuCWX9}k`P;0p^!!`+nfPD-s+TgzzVNNHxY4H+AvXHy8QcGXG=KIjE@t7^xu?((z6 zJT41V@Tjv$L-`6Ne99EHc57D7E_=#!hJ6l@>37HxM&~;mb3#sYbxt``#n+~DF0i>& i=bZXy%9SdHYt;-l+@gUc4f=|qljn{;4~iYdNAmwV8ZtWo diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/Out.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/Out.class index 2a59404c330bd03b47934a6eb7c1f7e0ad7c09be..7483d8295ac3978a933f0d14dd78e493627c9820 100644 GIT binary patch delta 319 zcmYL^y-EW?6ot>M=$a*9P&Z&Bw+aaa(pYI@5DUR7e;QMb$+#Jrompll0V^NE#>R&b z3qe7#u<=Fgd<1dWpmMq2{o!yf_bYy{R6f3+UI4T)3K1}D-Mj_W``Y&Mb%-v*+9jX! zmf|{T9a?MbD*6m}eQiZ<)LcwxY|>0B?xfL_S#z#Lx=T^1Hx-l$H#HMF;7YYKS@+o_ zsa=!0&Ptv9)`nk_^Llrci9#(b$$UiGIO18R<`f|O7!FR*KYw# zz&jj2`e)k36rqb*x3=&CS2O=FYp+n5lzch= z7GmQuN%8lQW)~v@=2~q(DgKz$#Vx|)AD`PIDWXg3A8d|4VQ(T1@Ol`5{yK^X5-4E| zWu(yLy^T>kL_P5vCYwy9nX}NE+-oKt-0mO0rV3iFrtcFOl62T_r1tOa! zHV7IP?V=sa*={B_=KI1AVT+)YbbXc=xguMjY2kQ0XG<iHs-W6lV*!ZTS$<%-AX zIF}QJRNS-ESr+#=bqaY&x#Q^^b0w8J$K5RRxzxw(R9^aaT2hC}XjUvxy)l?!GC7s# z<*po{)6(Z|=ATi^!a90Y#TYgYP%?3-K8${Hq`r;Y;C={Yb!SeJGxcfq1uqGD)Tr62 z=0av&cS4Azf@eYzbpE*=r226+v|KgcNYIQm5QOz>x)4B6(|W=BY-IBZ+izMC)aq(z h0yR3ZqgjPr>}l5P?pRMwe(NdDwP$I4fh$zd{sWQ6WsCp- delta 149 zcmZ1{F-wf=)W2Q(7#J8F8TvPJ^{`E@VmD`NU}$1zXq>#AU7NL;kzt0$WCae1$^Y4# zSn4?#+9tPhcr$iPzR01)(#^=AI$4oJ94N=f#?H{o$RG#hvQPHl6k}xB9M4(Eq{qO_ nPy@7qiJ_LE4oLF>SuG5V46R_YouLyb#s%beG4wF>F-QUcBWNQK diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/GitHubLGPLApi.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/GitHubLGPLApi.class index 904d6c1adca17c738ba543ea5cec5eab04ed873b..d7b563b8397494e2fd84ac3b71ac9119d79d148e 100644 GIT binary patch delta 365 zcmXw#O-lk%6o$`Dn;ECDPoy?-jiSjSmr;wrMVK&)s9e+{81wCSE`eso@ma+!)mWb9T-)O%OK{hrp6_N$%$}oqXtl_w*zy=n zaj{s2YdTD}r*{!xVD_6`0~qk@;NUDJxqMzLgWyW}@hh=P7PX7nsN_n+A8p z6kQQMcMAWU&~>PTAzR9f(u5Ngj^&p!shkqHH%!^5jmelQf=3!$$Okn|TJl?slWQ5) z;z3CuiixOP*CM3zxvZ5tHhKvR!Zr{H;Xg(o070bw2KBZ6#tZCypd-+YsvrTnFtLy9 bfCD&0hOs)s$@!mN!WH&(^li9-TNwTY&huas delta 121 zcmZ1^F+q&$)W2Q(7#J8F8TvPJwXsbuVmD=LU}$1zXq>#3U7N9a@=f-6EcF}=ZIi1x zJQ+JCALY%uoX~g^8h-p$ckcQN!Z^f5>R0BU6&f&c&j diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/GitHubMITApi.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/GitHubMITApi.class index a342481d81b14a3629d29e52eaea80641a42a891..3b9d7b4a599e23946d5ae2dd8cc9050e34aa8660 100644 GIT binary patch delta 363 zcmXw#O-n*S6o${__1^0xQYy+;4N-CXAZ=4rE1@W%Hl>R;!Bq#HxL=K<5M-8SR`xv! z{*7o66x1^4C-h^YL1=THb9kR~7N>ECuT#EJ z%4{W537=x8ROFaCzLbc|F_#i`3xrWFFIkx)XI7SDhwy@zo5XTsE>C!Rd()&YpT#?z zQ8)k3DZ_vYn4+aFsONB@K~sFGGr>y)9aF@$s0eE{rJ=*MXltwJR{Utw$^(K4F|Q4a zQ9Xi$i0g|e_)^dhdiEj+2H^-0gyc8IAOMP_@eY;U{^~27e#!|!udJ%1Or%kh?14I* YN%qO^N+zvty@9)~gWw(>;R#0m0NUGMYXATM delta 129 zcmbOs(Jsby>ff$?3=9m84E-Cqn%O4jv74|pFf_3%uoX~jftU_p$ckcQN!Z^f5>R05jemv;Y7A diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/OpenVerseAudiosApi.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/OpenVerseAudiosApi.class index e20862309a9b240852860947bf5222602db98d7f..7decca464cf0847017f128277a35fd51d9a3c6ad 100644 GIT binary patch delta 377 zcmXw#NlODk5QSfBoQdO#DB?kB#6Z+w&Muc6JSd{z23~|o(j=`j(?d@uao_j#(4O-j z#Dk!q9z6LM{4c>q^ip5FSFh?&pIzVG&R6Z_4L}C>kIuAJKboA}3>lpZS+LAx z#4@Ek7f~kU)GtMfaz8Xt7AUGrlm|s7xia_MY^0={Q#9o>RTOz@Hbx3eEzQp)d7x5s zK}jAI{yFG4s3585tqJP@M>Y=igEdT!^@mlB?ZYOgpvfe5 d4C}CqJ;PShotVk#Z#~DQ@f@SCaDzMa`~bW(WZwV) delta 130 zcmcaDengb()W2Q(7#J8F89Fy|d9h8lX18LiVyIzfsGeNSuFY1<$S_00XYxG`xyh&4 zt63^J7#b#fa#%AqO>X7TVr-qf0Z6t_zRh9I$g)|OGmA-&ftjHUXdDwmIYR}I<^!_o Z7#JDq!DJ&tGf<2R$Zuh2W9VRz1ORcJ9{vCT diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/OpenVerseImagesApi.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/OpenVerseImagesApi.class index 70bc5d29163c6f5c0c809cf891fa5358e0ca357a..f58a01ae43466b86d56e5ba229e6afbcda1f9196 100644 GIT binary patch delta 372 zcmXw#yGjE=6o$_v>+WV1BS8rk${+;dHMNo^g+)XZq7iI_O)_jI?9MK;V`99;`z>CI zvDRl03qe6`Y}mqNkqvcMA_5mmo})y9-VM6ocR zrc6xWCBZ3k{yAz{(15fo=vjRa4h-0rxB56bl<)eT)-vHlmW(VqllR7$)<%$$9X%=I zrXjzLn0AF=_|F(ZU5}GyEwa{!pdadhAg10j0#VQutruvlCYn#M^`;bp9#wTkfNqu8 eR*b+7>?-!E?nq6Jf9olnE6-B;0xsbi27dsJuw%CX delta 130 zcmca3epHm})W2Q(7#J8F89Fy|d9h8lX18LiVyIzfsGeNSuFY1<$S_00XYzdxxyh&4 zt63^J7#b#fa@a67O>X1RVr-qf5lFUAzQbY8$g)|4GmA-&ftjHUXdDwmIYR}I<^!_o Z7#JDq!DJ&tGf<2R$Zuh2W9VRz1ORj}9|iyb diff --git a/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/PixabayImagesApi.class b/SillyJirafe.org/bin/org/sillyjirafe/uoapi/binds/PixabayImagesApi.class index b4e008268d307a4bc139f903dda3fb8ac8c06c8b..4be86b45e9998488e71d0e4c75e5c50341df38e9 100644 GIT binary patch delta 368 zcmXw#yGsK>5XNUsyh~0o5`17279kj;n8HGgRSLmC3Q<$o2%BWRtmGcttuZlbjPLk{ zZR~9Y5er2@dprLd3lRsw=KIYz^UV}<+y6XheEht;0YC<>AB;&YFrCP%??7D5k!Vwg zI)TUn^AB zqQ(lWp0$|C{fsN9weCwQEEj{^mQ-R;*k$esiPu=cmmVuhYVo8jJ0*%66DF7Wg3ocYRy$UD3G~4R5D4Q-h9Lk!r11*1<>=-UY`vo+(2c4g0lF}; djqHFOXd-*CI>gD*pPs-e_6+oAZ~<2^^b16JV@Lo1 delta 128 zcmdlXzF3s&)W2Q(7#J8F8M-!d8M94RVz*$cW~gOnsF|F=uFY6CxrcooOBDx0<77P! zbH?V$X&hRNZIdT*Xt8uKGRRGy$SybeE{7N+%jPc}X-s+y%nao~! Parse(String JsonRaw); String getName(); } diff --git a/SillyJirafe.org/src/org/sillyjirafe/uoapi/Caller.java b/SillyJirafe.org/src/org/sillyjirafe/uoapi/Caller.java index 726049b..e7f3305 100644 --- a/SillyJirafe.org/src/org/sillyjirafe/uoapi/Caller.java +++ b/SillyJirafe.org/src/org/sillyjirafe/uoapi/Caller.java @@ -7,12 +7,12 @@ import java.net.http.HttpResponse; import java.util.List; public class Caller { - public static List CallApi(Api api, int page, String apiKey) throws Exception + public static List CallApi(Api api, int page, String apiKey, String rnd) throws Exception { HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() - .uri(URI.create(api.getURL(page, apiKey))) + .uri(URI.create(api.getURL(page, apiKey, rnd))) .GET() .build();