Libraryless. Click here for Pure Java version (7471L/47K).
1 | static IResourceLoader resourceLoaderFromJarOrDir(File jarOrDir, File unpackDir) { |
2 | if (isDirectory(jarOrDir)) |
3 | ret resourceLoaderFromDir(jarOrDir); |
4 | else |
5 | ret resourceLoaderFromJar(jarOrDir, unpackDir); |
6 | } |
Began life as a copy of #1022668
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031239 |
Snippet name: | resourceLoaderFromJarOrDir |
Eternal ID of this version: | #1031239/2 |
Text MD5: | 10a50acdeb4c30a06530a4c8937b9f9b |
Transpilation MD5: | cb60657c7373477508a7fe37d85824f2 |
Author: | stefan |
Category: | javax / packaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-24 19:39:36 |
Source code size: | 218 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 223 |
Version history: | 1 change(s) |
Referenced in: | [show references] |